Blog made using Jekyll and Github pages. Woohoo!
The theme is a custom one built on top of Emerald.
-
Change colors used across the blog by changing the respective values in base.scss
$main-color: #173D48; $background-color: #FDFDFD; $text-color: #333333;
-
To change the header image
- Change the image named
header-background.jpg
in images folder. - You can also edit the CSS directly to get the image in header.scss.
- Change the image named
Replace with your analytics code in google_analytics.html.
Add the markdown file in _pages folder.
-
Add the markdown file in _posts folder.
-
Alternatively, use publish.sh to convert a simple markdown to a post and add tags to it.
Usage: ./publish.sh <path-to-post-file> <title-of-post> <tags> Note: assumes post file to be markdown
-
Add create-post as submodule. Now you can use create-post in the repo to create new posts.
$ ./create-post --help usage: create-post.py [-h] [--dir DIR] [--ext EXT] [--title TITLE] [--version] Create sample post file to be used by Jekyll optional arguments: -h, --help show this help message and exit --dir DIR Directory path to write the sample post in. Default: _posts/ --ext EXT Extension type for the post. Default: .md --title TITLE Title of the post. Default: title --version show program's version number and exit
- Read setting up Jekyll and Github pages.
- Install create-post as submodule if you want to use publish.sh to create posts.
Ayush Goel, [email protected]