Advanced Jekyll

less than 1 minute read

bundle show minima

create _includes/

create _layouts/

copy html you want from bundle


Adding authors to your Jekyll site

ref: https://blog.sorryapp.com/blogging-with-jekyll/2014/02/06/adding-authors-to-your-jekyll-site.html

Create a file in _data/authors.yml containing your authors information.

# Author details.
robert_rawlins:
    name: Robert Rawlins
    email: robert@sorryapp.com
    web: http://twitter.com/sirrawlins

in you post

---
layout: post
author: robert_rawlins
---

in _layouts/post.html

<!-- Look the author details up from the site config. -->
{ % assign author = site.data.authors[page.author] % }

ref:

https://blog.sorryapp.com/blogging-with-jekyll/2014/02/06/adding-authors-to-your-jekyll-site.html

http://alanwsmith.com/jekyll-liquid-date-formatting-examples

https://learn.cloudcannon.com/jekyll/date-formatting/

Categories:

Updated: