Setting Up Blog In Github Pages With Jekyll
15 Nov 2015Followed this blog post to set up blog in github pages with jekyll. As I did this on Windows 10, had to find also information from this blog how to get Ruby rollin in it. For fine tuning Jekyll blog, read Joshua Landes’s excellent post about it.
Building and running
- To build site: bundle exec jekyll build
- To run locally: bundle exec jekyll serve –baseurl ‘’
Pushing to changes to github
- git add .
- git commit -m “commit comment”
- git push
Built on Poole
Poole is the Jekyll Butler, serving as an upstanding and effective foundation for Jekyll themes by @mdo. Poole, and every theme built on it (like Lanyon here) includes the following:
- Complete Jekyll setup included (layouts, config, 404, RSS feed, posts, and example page)
- Mobile friendly design and development
- Easily scalable text and component sizing with
rem
units in the CSS - Support for a wide gamut of HTML elements
- Related posts (time-based, because Jekyll) below each post
- Syntax highlighting, courtesy Pygments (the Python-based code snippet highlighter)
Lanyon features
In addition to the features of Poole, Lanyon adds the following:
- Toggleable sliding sidebar (built with only CSS) via ☰ link in top corner
- Sidebar includes support for textual modules and a dynamically generated navigation with active link support
- Two orientations for content and sidebar, default (left sidebar)
and reverse (right sidebar),
available via
<body>
classes - Eight optional color schemes, available
via
<body>
classes
Head to the readme to learn more.
Browser support
Lanyon is by preference a forward-thinking project. In addition to the latest versions of Chrome, Safari (mobile and desktop), and Firefox, it is only compatible with Internet Explorer 9 and above.
Download
Lanyon is developed on and hosted with GitHub. Head to the GitHub repository for downloads, bug reports, and features requests.