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

@@ -92,6 +92,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
@@ -100,6 +102,7 @@ theme = "LoveIt"
[[menu.main]]
identifier = "tags"
pre = ""
post = ""
name = "Tags"
url = "/tags/"
title = ""
@@ -107,6 +110,7 @@ theme = "LoveIt"
[[menu.main]]
identifier = "categories"
pre = ""
post = ""
name = "Categories"
url = "/categories/"
title = ""
@@ -742,6 +746,7 @@ defaultContentLanguage = "en"
[[languages.en.menu.main]]
identifier = "posts"
pre = ""
post = ""
name = "Posts"
url = "/posts/"
title = ""
@@ -749,6 +754,7 @@ defaultContentLanguage = "en"
[[languages.en.menu.main]]
identifier = "tags"
pre = ""
post = ""
name = "Tags"
url = "/tags/"
title = ""
@@ -756,6 +762,7 @@ defaultContentLanguage = "en"
[[languages.en.menu.main]]
identifier = "categories"
pre = ""
post = ""
name = "Categories"
url = "/categories/"
title = ""
@@ -772,6 +779,7 @@ defaultContentLanguage = "en"
[[languages.zh-cn.menu.main]]
identifier = "posts"
pre = ""
post = ""
name = "文章"
url = "/posts/"
title = ""
@@ -779,6 +787,7 @@ defaultContentLanguage = "en"
[[languages.zh-cn.menu.main]]
identifier = "tags"
pre = ""
post = ""
name = "标签"
url = "/tags/"
title = ""
@@ -786,6 +795,7 @@ defaultContentLanguage = "en"
[[languages.zh-cn.menu.main]]
identifier = "categories"
pre = ""
post = ""
name = "分类"
url = "/categories/"
title = ""
@@ -799,6 +809,7 @@ defaultContentLanguage = "en"
[[languages.fr.menu.main]]
identifier = "posts"
pre = ""
post = ""
name = "Postes"
url = "/posts/"
title = ""
@@ -806,6 +817,7 @@ defaultContentLanguage = "en"
[[languages.fr.menu.main]]
identifier = "tags"
pre = ""
post = ""
name = "Balises"
url = "/tags/"
title = ""
@@ -814,6 +826,7 @@ defaultContentLanguage = "en"
identifier = "categories"
name = "Catégories"
pre = ""
post = ""
url = "/categories/"
title = ""
weight = 3