セクションをブログトップに表示させる

This commit is contained in:
Kazuhiro MUSASHI 2022-11-27 12:20:06 +09:00
parent ea6e9d23f3
commit fe976a5691
2 changed files with 26 additions and 4 deletions

View File

@ -221,6 +221,17 @@ theme = "LoveIt"
# title will be shown when you hover on this menu link # title will be shown when you hover on this menu link
title = "" title = ""
weight = 1 weight = 1
[[menu.main]]
identifier = "photos"
# 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 = "Photos"
url = "/photos/"
# title will be shown when you hover on this menu link
title = ""
weight = 2
[[menu.main]] [[menu.main]]
identifier = "tags" identifier = "tags"
pre = "" pre = ""
@ -228,7 +239,7 @@ theme = "LoveIt"
name = "Tags" name = "Tags"
url = "/tags/" url = "/tags/"
title = "" title = ""
weight = 2 weight = 3
[[menu.main]] [[menu.main]]
identifier = "categories" identifier = "categories"
pre = "" pre = ""
@ -236,7 +247,7 @@ theme = "LoveIt"
name = "Categories" name = "Categories"
url = "/categories/" url = "/categories/"
title = "" title = ""
weight = 3 weight = 4
[markup] [markup]
# Syntax Highlighting (https://gohugo.io/content-management/syntax-highlighting) # Syntax Highlighting (https://gohugo.io/content-management/syntax-highlighting)

View File

@ -221,6 +221,17 @@ theme = "LoveIt"
# title will be shown when you hover on this menu link # title will be shown when you hover on this menu link
title = "" title = ""
weight = 1 weight = 1
[[menu.main]]
identifier = "photos"
# 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 = "Photos"
url = "/photos/"
# title will be shown when you hover on this menu link
title = ""
weight = 2
[[menu.main]] [[menu.main]]
identifier = "tags" identifier = "tags"
pre = "" pre = ""
@ -228,7 +239,7 @@ theme = "LoveIt"
name = "Tags" name = "Tags"
url = "/tags/" url = "/tags/"
title = "" title = ""
weight = 2 weight = 3
[[menu.main]] [[menu.main]]
identifier = "categories" identifier = "categories"
pre = "" pre = ""
@ -236,7 +247,7 @@ theme = "LoveIt"
name = "Categories" name = "Categories"
url = "/categories/" url = "/categories/"
title = "" title = ""
weight = 3 weight = 4
[markup] [markup]
# Syntax Highlighting (https://gohugo.io/content-management/syntax-highlighting) # Syntax Highlighting (https://gohugo.io/content-management/syntax-highlighting)