feat: added the menus.

This commit is contained in:
Andrey Parhomenko 2024-12-22 19:02:46 +05:00
parent 14374f0489
commit 323bf56214
3 changed files with 19 additions and 1 deletions

View file

@ -1,5 +1,5 @@
+++ +++
title = '{{ replace .File.ContentBaseName "-" " " | title }}' title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }} date = {{ .Date }}
draft = true draft = false
+++ +++

8
content/news/check.md Normal file
View file

@ -0,0 +1,8 @@
+++
title = 'Check'
date = 2024-12-22T17:56:27+05:00
draft = false
+++
Checking the news menu.

View file

@ -2,3 +2,13 @@ baseURL = 'https://blog.surdeus.su/'
languageCode = 'en-US' languageCode = 'en-US'
title = 'Surdeus Blog' title = 'Surdeus Blog'
theme = 'ananke' theme = 'ananke'
[menus]
[[menus.main]]
name = 'Posts'
pageRef = '/posts'
weight = 10
[[menus.main]]
name = 'News'
pageRef = '/news'
weight = 20