Add ability to flag certain content as a Work In Progress or TBD. This makes it more noticeable in both content file and webpage.

This commit is contained in:
2025-11-21 11:12:00 -07:00
parent 9f8ab1d2d5
commit a89665f6a4
3 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
{{ $text := .text | default .Text
}}{{ $wip := .sep | default .Sep | default .wip | default .WIP | default "WIP"
}}*{{ $wip }}:* {{ $text }} *:{{ $wip }}*

View File

@@ -0,0 +1,3 @@
{{ $text := .Get 0
}}{{ partial "wip.html" (dict "text" $text "sep" "TBD")
}}

View File

@@ -0,0 +1,4 @@
{{ $text := .Get 0
}}{{ $wip := .Get 1 | default "WIP"
}}{{ partial "wip.html" (dict "text" $text "wip" $wip)
}}