Skeleton for a GitHub pages site that makes use of Jekyll blog capabilities and templating. Put markdown files in _articles
and push to GitHub. Jekyll will automatically render the templates and markdown files to html.
_config.yml
to reflect your infoindex.html
and `about.html_posts
. The post title must have the format: YYYY-MM-DD-article-title.md
. Edit the title
and date
front-matter tags accordingly on the post.assets/style.css
as necessary.gem install jekyll
(more info on Jekyll installation)_site
(see Site structure)jekyll serve
, then you can preview your site at http://localhost:4000Uses the Jekyll directory structure:
tree
├── .gitignore
├── README.md
├── _config.yml
├── _includes
│ ├── footer.html
│ └── head.html
├── _layouts
│ ├── default.html
│ └── post.html
├── _posts
│ ├── 2018-11-01-lorem-ipsum.md
│ └── 2018-11-04-Dextra-neque.md
├── about.html
├── articles
│ └── index.html
├── assets
│ └── style.css
└── index.html
.gitignore
Directory _site
is excluded in .gitignore
, as well as any tarballs or swap/backup files
_config.yml
Kramdown Markdown parser, use of baseurl
, use of Twitter and GitHub links on footer.
_layouts
Default and post layout
_includes
Includes head.html
(everything between the <head></head>
tags in html) and footer.html
- change as necessary
assets
and _posts
Sample stylesheet and content
articles/index.html
Articles index
2018-11-04: First version