diff --git a/archetypes/default.md b/archetypes/default.md index c6f3fce..cae8048 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,5 +1,5 @@ +++ title = '{{ replace .File.ContentBaseName "-" " " | title }}' date = {{ .Date }} -draft = true +draft = false +++ diff --git a/content/news/check.md b/content/news/check.md new file mode 100644 index 0000000..8b11d96 --- /dev/null +++ b/content/news/check.md @@ -0,0 +1,8 @@ ++++ +title = 'Check' +date = 2024-12-22T17:56:27+05:00 +draft = false ++++ + +Checking the news menu. + diff --git a/hugo.toml b/hugo.toml index cc06afe..2cc6595 100644 --- a/hugo.toml +++ b/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