copyright in config now supports markdown; small readme cleanup, using example.com as url in examples

This commit is contained in:
Gabriele Musco 2021-04-14 22:53:14 +02:00
parent afe947a85f
commit 22a001ea42
No known key found for this signature in database
GPG Key ID: 8539FD3454380B83
2 changed files with 9 additions and 4 deletions

View File

@ -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

View File

@ -2,7 +2,7 @@
<hr />
{{- partial "inject/footer.html" . -}}
<p><small>
{{ now.Format "2006" }} &copy; {{ .Site.Copyright }}
{{ now.Format "2006" }} &copy; {{ .Site.Copyright | markdownify }}
</small></p>
<p><small>
<a href="https://gitlab.com/gabmus/hugo-ficurinia">Ficurinia theme</a> for <a href="https://gohugo.io">Hugo</a> by <a href="https://gabmus.org">Gabriele Musco</a>.