Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xianmin/hugo-theme-jane.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaform <shaform@gmail.com>2018-11-17 22:18:02 +0300
committerShaform <shaform@gmail.com>2018-11-17 22:31:43 +0300
commitebfc3056a44ea0051a3e9008c572459d829d3c13 (patch)
treebb22725191f2c80b4730c17809425eaddabbb7c4 /exampleSite
parent45fc3e7ceb6621b97b3ea41ad91431b0dd4f6cc9 (diff)
add author info section
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/data/authors/ted.toml13
-rw-r--r--exampleSite/full-config.toml2
2 files changed, 15 insertions, 0 deletions
diff --git a/exampleSite/data/authors/ted.toml b/exampleSite/data/authors/ted.toml
index a8febee..4baae23 100644
--- a/exampleSite/data/authors/ted.toml
+++ b/exampleSite/data/authors/ted.toml
@@ -1,2 +1,15 @@
+description = "Writer, Traveler, Food Lover."
+
[name]
display = "Ted Williams"
+
+# [image]
+# url = ""
+# width = 128
+# height = 128
+
+# [en]
+# description = ""
+
+# [en.name]
+# display = "Ted"
diff --git a/exampleSite/full-config.toml b/exampleSite/full-config.toml
index 831cc7d..5c20151 100644
--- a/exampleSite/full-config.toml
+++ b/exampleSite/full-config.toml
@@ -91,6 +91,8 @@ defaultContentLanguage = "en" # Default language to use
# show language chooser in menu
showMenuLanguageChooser = true
+ showAuthorInfo = true # show author info below the article
+
# 一些全局开关,你也可以在每一篇内容的 front matter 中针对单篇内容关闭或开启某些功能,在 archetypes/default.md 查看更多信息。
# Some global options, you can also close or open something in front matter for a single post, see more information from `archetypes/default.md`.
toc = true # 是否开启目录