add hidden page param #124

This commit is contained in:
Dmitry Kolosov 2021-12-23 21:56:08 +03:00
parent 0b15d3bc48
commit 0c92c7b71a
8 changed files with 48 additions and 7 deletions

View file

@ -20,6 +20,7 @@ Anubis is a simple minimalist theme for [Hugo blog engine](https://gohugo.io/).
- Utteranc.es
- RSS feeds
- Hiding posts from the RSS feed
- Hidden posts (available only by link)
- Translations (en, ru, fr, pl)
- Custom CSS/JS
- Multilingual mode
@ -192,10 +193,13 @@ Based on environment.
For production — allow all, for other — disallow all.
### Favorite posts
To mark posts as favorite just add `favorite: true` in post's front matter. It adds a "★" icon nearby post's title.
Add `favorite: true` to post front matter. It adds a "★" icon nearby post's title.
### Hiding posts from RSS
To hide a post from the RSS feed, just add `disable_feed: true` to its front matter.
Add `disable_feed: true` to post front matter.
### Make post available only by link
Add `hidden: true` to post front matter. Post also is not available in RSS feed.
### Pagination on post single page
Enabled by `paginationSinglePost` param in `params` section of config.