diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b4ac9a..6018200 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,4 @@ - ENHANCEMENT - - add template for Json Feeds + - slightly change the date formate displayed on posts + - use `.Lastmod` instead of `.Date` on posts + the date on updated posts will be prefixed with `Updated on` string diff --git a/exampleSite/config.yml b/exampleSite/config.yml index 08ce4f9..655c593 100644 --- a/exampleSite/config.yml +++ b/exampleSite/config.yml @@ -4,6 +4,7 @@ title: Geekblog theme: hugo-geekblog pygmentsUseClasses: true pygmentsCodeFences: true +enableGitInfo: true paginate: 5 diff --git a/exampleSite/content/posts/how-to-use.md b/exampleSite/content/posts/how-to-use.md index c7ee7a8..d368d97 100644 --- a/exampleSite/content/posts/how-to-use.md +++ b/exampleSite/content/posts/how-to-use.md @@ -48,6 +48,7 @@ theme = "hugo-geekblog" # Required to get well formatted code blocks pygmentsUseClasses = true pygmentsCodeFences = true +enableGitInfo = true disablePathToLower = true enableGitInfo = true @@ -148,6 +149,7 @@ theme: hugo-geekblog # Required to get well formatted code blocks pygmentsUseClasses: true pygmentsCodeFences: true +enableGitInfo: true disablePathToLower: true enableGitInfo: true diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 0e643d7..048c2cf 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -24,8 +24,11 @@ -