Add initial theme assets, layouts, and configuration for Hugo site

This commit is contained in:
2025-03-26 21:18:45 +08:00
parent f2b5a7835c
commit c074b25fc6
78 changed files with 9440 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
---
title: "Header"
date: "2024-10-13"
summary: "Header parameters"
description: "Header parameters"
toc: false
readTime: false
autonumber: true
math: false
showTags: false
---
To pick pages to include in the header you must add the following elements:
```toml
[[params.menu]]
name = "home"
url = "/"
[[params.menu]]
name = "posts"
url = "/posts"
```
There exists an optional new tab parameter, to choose whether menu items are opened in a new tab or not.
```toml
[[params.menu]]
name = "posts"
url = "/posts"
newTab = true
```