summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-25 00:58:54 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-25 00:58:54 +0200
commit211f9fdd3c14fb21c97501d90611f75962eae879 (patch)
tree826ef29a7cdb81682f4e6749a0e58e32b8c64ed9
parentabe3b6761139a97ce535486af2f6918f2a8c0051 (diff)
downloadgohugo-theme-ed-211f9fdd3c14fb21c97501d90611f75962eae879.tar.gz
Amend documentation
-rw-r--r--exampleSite/config.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 3ea1e1c..7c068ab 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -2,6 +2,12 @@ baseURL = 'https://example.com/'
languageCode = 'en-us'
defaultContentLanguage = 'en'
+# Keep title short to prevent overflow.
+# There’s no official guidance on this, but 40 characters for
+# mobile and 60 for desktop is roughly the sweet spot.
+#
+# NB: Final title of shareable pages will be this plus the
+# title of the page. Eg. "Contacts - Ed."
title = 'Ed.'
theme = ['github.com/sergeyklay/gohugo-theme-ed']
resourceDir = '../resources'