]> jfr.im git - irc/anope/website.git/blob - README.md
Convert from XHTML strict to HTML.
[irc/anope/website.git] / README.md
1 ## Anope Site
2
3 This repository contains the Jekyll sources for the Anope Website. Changes that are pushed to this repository are automatically deployed to GitHub Pages.
4
5 ### Making a News Post
6
7 To make a new news post:
8
9 - Create a file in `_posts` with a name like `2020-04-20-hello-world.md`
10 - Edit the following front matter and add it to the top of the page:
11
12 ```yaml
13 ---
14 layout: post
15 title: Post Title
16 author: Your Name
17 category: Current Year (e.g. 2010)
18 ---
19 ```
20
21 - Write your post after the front matter
22 - Commit your changes
23 - Push to GitHub
24
25 The site will be automatically rebuilt and will show your post as the most recent one. If you're not sure about anything check some older posts to see how they do it but be aware that posts from before the Jekyll migration use a lot of raw HTML instead of Markdown and may not be formatted as well as they could.
26
27 If your post is particularly long and you don't want to show the whole thing on the news index you can add a comment like `<!--more-->` to hide all contents after it.