From 38a8b48e8cb8eeb623d6ffe683009248a428d4b6 Mon Sep 17 00:00:00 2001 From: Gabriele Musco Date: Tue, 6 Jul 2021 19:29:08 +0200 Subject: [PATCH] added option to hide the posts link --- README.md | 1 + layouts/partials/header.html | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e6e8076..10d2a78 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,7 @@ summaryLength = 70 # number of words for article summaries description = "A description for my website" # this will be added as metadata posts = "posts" # content directory where to find home page posts; default searches in "posts" and "post" + showPostsLink = true # show or hide the link to the simple post list extraContentDirs = [] # other content directories to render similarly to the home page # It's best to put these icons in the "static" folder of your site diff --git a/layouts/partials/header.html b/layouts/partials/header.html index ab06b2c..79050bc 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -18,7 +18,9 @@ {{ end }}