How to Contribute to a Community Website with Jekyll on Github
Want to contribute?
How to make a new post:
Using Github, add a file in the _posts
directory that follows the standard YYYY-MM-DD-name-of-post.ext
and includes the necessary front matter.
See this posts raw text file as an example.
How to make a new page:
Same method as making a new post.
See page raw text file as an example.
Add page file to the root directory.
How it works.
Jekyll works by generating a static website from basic _config.yml
settings, front matter data and usage of markdown.
Jekyll also offers powerful support for code snippets:
Check out the Jekyll docs for more info on how to get the most out of Jekyll. File all bugs/feature requests at Jekyll’s GitHub repo. If you have questions, you can ask them on Jekyll Talk.
Take a look at the source for this post to get an idea about how it works.
You’ll find this post in the _posts
directory.