Skip to content

Instantly share code, notes, and snippets.

@pftnhr
pftnhr / _yellow-tags.md
Last active October 26, 2023 07:05
[datenstrom-yellow] PaperMod like tags page

yellow-tags

... creates a page that shows tags with a superscript count using the group() function of yellow. The inspiration for this comes from the tags page of the PaperMod theme for Hugo.

How it works

Save the tags.html in your system/layout folder and create a content/5-tags/page.md with the following page settings:

---
@pftnhr
pftnhr / _yellow-special1stpost.md
Last active November 11, 2023 08:36
[datenstrom-yellow] Lets you create a sticky post in a different design that is only on the blog homepage, and there at the top.

yellow-special1stpost

... lets you create a sticky post in a different design that is only on the blog homepage, and there at the top.

How it works

Save the blog-start.html in your system/layout folder and create a content/shared/special1stpost.md with the following content:

---
@pftnhr
pftnhr / _yellow-todo.md
Last active October 11, 2023 20:05
[datenstrom-yellow] A ToDo page/Dashboard

yellow-todo

... was created by me to have my todo list on the website. Now I use it as a kind of dashboard that shows my drafts and unlisted posts.

@pftnhr
pftnhr / _yellow-archive.md
Last active October 26, 2023 07:05
[datenstrom-yellow] PaperMod like archive page

yellow-archive

... creates an archive that groups blog posts by year and month using the group() function of yellow. The inspiration for this comes from the archive of the PaperMod theme for Hugo.

How it works

Save the archive.html in your system/layout folder and create a content/4-archive/page.md with the following page settings:

---