Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
How to post an activity to mendicantuniversity.org
The website is a simple static site built with jekyll, which means that by following a few conventions, it's basically a matter of editing markdown files in whatever editor you like, and following a git workflow.
- Clone the mendicantuniversity.org repo.
- Checkout a new local feature branch with a descriptive name, e.g.
- Edit a file in the
_posts/activitiesdirectory, named like e.g.
2012-05-20-study-group.markdown. The date in the front of the filename is important to include. If you want to meet at a certain time make sure to use UTC.
- Add the following (YAML) text to the top of the file:
--- title: "Study group on the Foo framework" category: activities layout: post tags: frontpage ---
- Commit your changes.
- Review your changes by running jekyll locally from the root directory
bundle install bundle exec jekyll --server
This will compile the markdown and spin up a webrick server on port 4000. Browse
http://localhost:4000/ to make sure the site looks ok and your new activity appears on the front page.
__NOTE__: Try to keep recent updates and activities as balanced as possible. This can be achieved by displaying up to 5 items in each list, editing down as necessary by posted / activity date.
If you have commit access to the github repo, you can go ahead and push to the
gh-pagesbranch before asking for a review.
Otherwise, push your local branch and create a pull request for review.
When your activity is completed, push an update which removes the frontpage tag.