feat(header): add Logo, pre and post config for header title (#252)

This commit is contained in:
Dillon
2020-04-23 16:49:30 +08:00
committed by GitHub
parent 919f559fd0
commit 87fbb05e86
23 changed files with 141 additions and 44 deletions

View File

@@ -97,6 +97,8 @@ theme = "LoveIt"
identifier = "posts"
# you can add extra information before the name (HTML format is supported), such as icons
pre = ""
# you can add extra information after the name (HTML format is supported), such as icons
post = ""
name = "Posts"
url = "/posts/"
# title will be shown when you hover on this menu link
@@ -105,6 +107,7 @@ theme = "LoveIt"
[[menu.main]]
identifier = "tags"
pre = ""
post = ""
name = "Tags"
url = "/tags/"
title = ""
@@ -112,6 +115,7 @@ theme = "LoveIt"
[[menu.main]]
identifier = "categories"
pre = ""
post = ""
name = "Categories"
url = "/categories/"
title = ""
@@ -747,6 +751,7 @@ defaultContentLanguage = "en"
[[languages.en.menu.main]]
identifier = "posts"
pre = ""
post = ""
name = "Posts"
url = "/posts/"
title = ""
@@ -754,6 +759,7 @@ defaultContentLanguage = "en"
[[languages.en.menu.main]]
identifier = "tags"
pre = ""
post = ""
name = "Tags"
url = "/tags/"
title = ""
@@ -761,6 +767,7 @@ defaultContentLanguage = "en"
[[languages.en.menu.main]]
identifier = "categories"
pre = ""
post = ""
name = "Categories"
url = "/categories/"
title = ""
@@ -777,6 +784,7 @@ defaultContentLanguage = "en"
[[languages.zh-cn.menu.main]]
identifier = "posts"
pre = ""
post = ""
name = "文章"
url = "/posts/"
title = ""
@@ -784,6 +792,7 @@ defaultContentLanguage = "en"
[[languages.zh-cn.menu.main]]
identifier = "tags"
pre = ""
post = ""
name = "标签"
url = "/tags/"
title = ""
@@ -791,6 +800,7 @@ defaultContentLanguage = "en"
[[languages.zh-cn.menu.main]]
identifier = "categories"
pre = ""
post = ""
name = "分类"
url = "/categories/"
title = ""
@@ -804,6 +814,7 @@ defaultContentLanguage = "en"
[[languages.fr.menu.main]]
identifier = "posts"
pre = ""
post = ""
name = "Postes"
url = "/posts/"
title = ""
@@ -811,6 +822,7 @@ defaultContentLanguage = "en"
[[languages.fr.menu.main]]
identifier = "tags"
pre = ""
post = ""
name = "Balises"
url = "/tags/"
title = ""
@@ -819,6 +831,7 @@ defaultContentLanguage = "en"
identifier = "categories"
name = "Catégories"
pre = ""
post = ""
url = "/categories/"
title = ""
weight = 3