Add blog feature to homepage and menu
Adds a blog feature card to the homepage and adds a blog entry to the main menu. Updates the configuration to enable blog features.
This commit is contained in:
18
hugo.yaml
18
hugo.yaml
@@ -13,15 +13,18 @@ menu:
|
||||
- name: Netlab
|
||||
pageRef: /netlab
|
||||
weight: 2
|
||||
- name: Blog
|
||||
pageRef: /blog
|
||||
weight: 3
|
||||
- name: About
|
||||
pageRef: /about
|
||||
weight: 3
|
||||
- name: Search
|
||||
weight: 4
|
||||
- name: Search
|
||||
weight: 5
|
||||
params:
|
||||
type: search
|
||||
- name: Gitea
|
||||
weight: 5
|
||||
weight: 6
|
||||
url: "https://gitea.arnodo.fr/Damien"
|
||||
params:
|
||||
icon: gitea
|
||||
@@ -46,6 +49,15 @@ params:
|
||||
flexsearch:
|
||||
# index page by: content | summary | heading | title
|
||||
index: heading
|
||||
# Blog
|
||||
blog:
|
||||
list:
|
||||
displayTags: true
|
||||
sortBy: date
|
||||
sortOrder: desc
|
||||
pagerSize: 10
|
||||
article:
|
||||
displayPagination: true
|
||||
|
||||
markup:
|
||||
goldmark:
|
||||
|
||||
Reference in New Issue
Block a user