diff --git a/layout/post.pug b/layout/post.pug index 81e09441..837daea3 100644 --- a/layout/post.pug +++ b/layout/post.pug @@ -7,6 +7,9 @@ block content .post h1.post-title= page.title .post-meta= page.date.format(config.date_format) + if page.updated + span= ' | ' + span.updated= page.updated.format(config.date_format) if page.categories.length > 0 span= ' | ' span.category diff --git a/source/css/style.scss b/source/css/style.scss index 84419f2b..8e3c0c00 100644 --- a/source/css/style.scss +++ b/source/css/style.scss @@ -305,6 +305,14 @@ div { padding-right: 0.3em; } + .updated { + &:before { + font-family: "FontAwesome"; + content: "\f021"; + padding-right: 0.3em; + } + } + .category { &:before { font-family: "FontAwesome";