mirror of https://github.com/luizdepra/hugo-coder.git

Jens Rantil
22 hours ago 2c194bc31547e0000732273ed46c900e31063bda
refs
author Jens Rantil <jens.rantil@gmail.com>
Sunday, November 15, 2026 02:48 +0100
committer GitHub <noreply@github.com>
Sunday, November 15, 2026 02:48 +0100
commit2c194bc31547e0000732273ed46c900e31063bda
tree 53d462f56994658c6f32e1162ef738d2d2e8e04e tree | zip | gz
parent 75b8ebcff506656ce6b53f79ae406032777f2aa4 view | diff
feat: mark drafts in listing (#1019)

### Prerequisites

Put an `x` into the box(es) that apply:

- [ ] This pull request fixes a bug.
- [x] This pull request adds a feature.
- [ ] This pull request introduces breaking change.

### Description

This pull request adds a small tag marking posts which are drafts:

<img width="913" height="865" alt="image"
src="https://github.com/user-attachments/assets/80e71811-779c-4ba6-86ba-645fb0e50a96"
/>

You must 1) have draft posts and 2) start Hugo with `hugo serve
--buildDrafts` to see them.

### Checklist

Put an `x` into the box(es) that apply:

#### General

- [x] Describe what changes are being made
- [x] Explain why and how the changes were necessary and implemented
respectively
- [x] Reference issue with `#<ISSUE_NO>` if applicable

#### Resources

- [x] If you have changed any SCSS code, run `make release` to
regenerate all CSS files

#### Contributors

- [x] Add yourself to `CONTRIBUTORS.md` if you aren't on it already

Co-authored-by: Luiz F. A. de PrĂ¡ <luizdepra@users.noreply.github.com>
4 files modified
21 ■■■■■ changed files
assets/scss/_content.scss 10 ●●●●● diff | view | raw | blame | history
layouts/posts/li.html 7 ●●●●● diff | view | raw | blame | history
resources/_gen/assets/scss/coder.scss3309bf5eef245954e39c3edadcf84268.content 2 ●●●●● diff | view | raw | blame | history
resources/_gen/assets/scss/coder.scss3309bf5eef245954e39c3edadcf84268.json 2 ●●●●● diff | view | raw | blame | history