From 22a001ea42b7e7224fe126cbf0dbf5606864e28a Mon Sep 17 00:00:00 2001 From: Gabriele Musco Date: Wed, 14 Apr 2021 22:53:14 +0200 Subject: [PATCH] copyright in config now supports markdown; small readme cleanup, using example.com as url in examples --- README.md | 11 ++++++++--- layouts/partials/footer.html | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0c80f10..f56628f 100644 --- a/README.md +++ b/README.md @@ -17,10 +17,14 @@ A prickly blog theme for Hugo These are some parameters you can use in your `config.toml` to customize Ficurinia: ```toml +baseURL = "https://example.com/" theme = "hugo-ficurinia" - title = "My nice blog" -copyright = "Some copyright notice" + +# this will be included in the footer after the current year the site is last +# built, followed by the (c) symbol +# you can use markdown inside this field +copyright = "Some copyright notice - [my license](https://example.com/license)" paginate = 5 # number of articles per page in the index summaryLength = 70 # number of words for article summaries @@ -55,7 +59,7 @@ summaryLength = 70 # number of words for article summaries # enable analytics using Plausible plausibleScriptUrl = "https://something.com/..." - plausibleDomain = "gabmus.org" + plausibleDomain = "example.com" # WARNING: deprecated! Use [[menu.icons]] instead, look below # links = [ @@ -75,6 +79,7 @@ summaryLength = 70 # number of words for article summaries # redirect to baseURL if current URL host doesn't match # useful if deploying in gitlab pages with custom domain and don't want # the username.gitlab.io/website url to persist + # this requires you to set baseURL (see above) forceRedirect = false infiniteScrolling = false # activates infinite scrolling instead of regular pagination diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 817a84f..2c9ff7e 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -2,7 +2,7 @@
{{- partial "inject/footer.html" . -}}

- {{ now.Format "2006" }} © {{ .Site.Copyright }} + {{ now.Format "2006" }} © {{ .Site.Copyright | markdownify }}

Ficurinia theme for Hugo by Gabriele Musco.