From 591686138c4bc46b77aa65bbd15b427785ca8b2c Mon Sep 17 00:00:00 2001 From: Alexander Bilz <mail@alexbilz.com> Date: Tue, 05 Jan 2021 10:30:47 +0000 Subject: [PATCH] Merge branch 'master' into utterances --- README.md | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/README.md b/README.md index dea9cf4..9ebfd4d 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ - 100⁄100 Google Lighthouse score - Google Analytics (optional) - Comments powered by Disqus or Utteranc.es (optional) +- SimpleAnalytics (optional) - Katex support (optional) - Formspree Contact Form (optional) - Twitter Cards support @@ -128,6 +129,15 @@ doNotLoadAnimations = true # Animations are loaded by default ``` +### Control the date Format +You can change the default date formating for the `list.html`, the `single.html` and the `index.html`. Simply configure the matching parameters. +```toml +[params] +singleDateFormat = "Mon, Jan 2, 2006" +indexDateFormat = "Mon, Jan 2, 2006" +listDateFormat = "Jan 2" +``` + ### Have a static page as a home page If you prefer having a static page as your home page rather than a listing of the latest posts, then make sure you leave the `mainSections` parameter blank: ```toml @@ -222,6 +232,16 @@ googleAnalytics = "UA-123-45" ``` +### Simple Analytics + +To use Simple Analytics, it has to be enabled by setting the parameter to true. If you are using a custom subdomain to evade Adblockers, then specify the URL without a trailing slash. + +```toml +[params.simpleAnalytics] +enable = true +# customurl = "https://analytics.example.com" +``` + ### Google Site Verification To use Google Site Verification, add the following line to the `[params]`: -- Gitblit v1.10.0