feat: added the menus.
This commit is contained in:
parent
14374f0489
commit
323bf56214
3 changed files with 19 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
date = {{ .Date }}
|
||||
draft = true
|
||||
draft = false
|
||||
+++
|
||||
|
|
8
content/news/check.md
Normal file
8
content/news/check.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
+++
|
||||
title = 'Check'
|
||||
date = 2024-12-22T17:56:27+05:00
|
||||
draft = false
|
||||
+++
|
||||
|
||||
Checking the news menu.
|
||||
|
10
hugo.toml
10
hugo.toml
|
@ -2,3 +2,13 @@ baseURL = 'https://blog.surdeus.su/'
|
|||
languageCode = 'en-US'
|
||||
title = 'Surdeus Blog'
|
||||
theme = 'ananke'
|
||||
|
||||
[menus]
|
||||
[[menus.main]]
|
||||
name = 'Posts'
|
||||
pageRef = '/posts'
|
||||
weight = 10
|
||||
[[menus.main]]
|
||||
name = 'News'
|
||||
pageRef = '/news'
|
||||
weight = 20
|
||||
|
|
Loading…
Reference in a new issue