From f867973ed6b6808a41ef37ef320bb2c03f991418 Mon Sep 17 00:00:00 2001 From: Michael Kuhn Date: Sun, 1 Aug 2021 22:28:25 +0200 Subject: [PATCH] docs: improve getting started post (#77) The getting started post contains a few inconsistencies: - The atom feed does not work due to a typo - The menu icons do not show up due to wrong icon names - The full configuration does not mention `pluralizeListTitles` and `paginate` --- exampleSite/content/posts/getting-started.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/exampleSite/content/posts/getting-started.md b/exampleSite/content/posts/getting-started.md index 27b446e..d19808f 100644 --- a/exampleSite/content/posts/getting-started.md +++ b/exampleSite/content/posts/getting-started.md @@ -106,7 +106,7 @@ To prepare your new site environment just a few steps are required: noUgly = true permalinkable = false - [outputFormats.outputs] + [outputs] home = ["HTML", "ATOM"] page = ["HTML"] section = ["HTML"] @@ -168,6 +168,9 @@ baseURL = "http://localhost" title = "Geekblog" theme = "hugo-geekblog" +paginate = 5 +pluralizeListTitles = false + # Required to get well formatted code blocks pygmentsUseClasses = true pygmentsCodeFences = true @@ -278,6 +281,9 @@ enableGitInfo = true theme: hugo-geekblog +paginate: 5 +pluralizeListTitles: false + # Required to get well formatted code blocks pygmentsUseClasses: true pygmentsCodeFences: true @@ -462,13 +468,13 @@ If you want to customize the menus (header and footer), this can be achieved by --- header: - name: Github Profile - icon: github + icon: gblog_github ref: "https://github.com/xoxys" external: true footer: - name: Contact - icon: email + icon: gblog_email ref: "/contact" ```