31 lines
573 B
Markdown
Raw Normal View History

2022-01-14 15:45:24 +01:00
# Post Archive in Hugo
## Install
1. Add the shortcode file `shortcodes/archive.html` to your project > `layouts/shortcodes`
2. Add `content/archive.md` to your project's `/content` directory
## Usage
To reach your Archive you can add a new menu entry that links to it:
```toml
[menu]
[[menu.main]]
identifier = "about"
name = "About"
url = "/about/"
```
Add a summary (description) to each Post:
```yaml
+++
...
summary = "This is a Test Page for this Usage example"
...
+++
```
## Preview
![Highlight Boxes in Hugo](post_archive.png)