How to contribute posts and collaborate
Anyone can post articles, propose changes to the website or collaborate following the forking workflow.
- Fork the jugmk.github.io repository
-
Clone the repo from your fork
Example
git clone https://github.com/{git_username}/jugmk.github.io.git
-
Checkout a new branch with your post title
Example
git checkout -b example-post-title
-
Write your post in a new file in _posts directory
following the official jekyll documentation.
Example for file named 2015-01-31-javaday-2014-a-leap-forward.md
--- layout: post title: JavaDay 2014 a leap forward author: Mite Mitreski date: 2015-01-31 categories: java-day personal --- Your post contents in html/markdown
-
Commit your changes to your local repository
Example
git add . git commit -am "Add my post to jug.mk"
-
Push your changes
Example
git push origin example-post-title
- Create a pull request.