From ad5f17e77acc92b8a65ebebcfe9b57c278601d12 Mon Sep 17 00:00:00 2001 From: Huy Tran Date: Fri, 30 Mar 2018 10:49:07 +1100 Subject: [PATCH] Fixes #2 --- exampleSite/config.toml | 2 +- layouts/index.html | 8 +++++++- layouts/partials/header.html | 2 +- layouts/partials/list_content.html | 10 +++++++++- layouts/partials/post_content.html | 11 +++++++++-- static/css/custom.css | 8 ++++++-- 6 files changed, 33 insertions(+), 8 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 1dc76dc..7b64fd3 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -15,7 +15,7 @@ theme = "hyde-hyde" title = "Title" # description = "..." authorimage = "/img/hugo.png" - dateformat = "Jan 1, 2006" + dateformat = "Jan 2, 2006" highlightjs = true # highlightjsstyle = "github" diff --git a/layouts/index.html b/layouts/index.html index c5f07b3..76485e9 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -7,7 +7,13 @@ {{ range where .Data.Pages "Type" "posts" }}

{{ .Title }}

- + {{ .Summary }} {{ if .Truncated }}