Website of Indian Curry
This is the hakyll source code that powers the website https://indian-curry.github.io. While the master branch contains the generated files, the actual source resides in the develop branch.
The website uses the Hakyll static website generator. We recommend using stack to build the site.
-
Fork the repository on github.
-
Clone locally and work with the contents.
git clone git@github.com/your-user-name/indian-curry.github.io
cd indian-curry.github.io # go to the root of the indian curry directory.
stack setup # set up stack
stack build website # build hakyll executable
stack exec website build # should build the site
stack exec website watch # run preview server on localhost:8000
stack exec website check # check for broken links
git checkout -b topic # Create a topic branch for developing.
- When done push your topic branch and send pull request.
git push origin -u topic # and send pull request from topic
This repository has two branches the master
and develop
. Since
this repository servers also as github pages for our website, the
contents of the master branch are the raw html/css/media files are not
of interest for the developer. The actual source for the website
resides in the develop
branch. For more details see the tutorial
https://jaspervdj.be/hakyll/tutorials/github-pages-tutorial.html.
One of the most common tasks is editing the news item or creating a item. You hardly need to know any Haskell to accomplish this. So do not get scared to send in what you think is relevant for this group.
All news items are located in the sub-directory news
in this
repository. News items are split into three categories each located in
a sub-directory of its own:
-
Posts: These are general news items. These could be short writeups of new projects, experience reports or anything else that might be interesting for the group.
-
Jobs: Announcements for internship, job opportunity
-
Events: Hackathons, meetups, conferences etc.
The file name of the news item follow the convention of a blog entry
in a hakyll based site i.e. DD-MM-YYYY-title.md
. For example, the
announcement of a functional programmers meetup in hell can be done by
creating an file news/event/29-02-2016-Haskell-Meetup-in-Hell.md
.