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:
1 parent
9f8ab1d2d5
commit
a89665f6a4
3 files changed
+10
No files matched your search
@@ -0,0 +1,3 @@
|
||||
{{ $text := .text | default .Text
|
||||
}}{{ $wip := .sep | default .Sep | default .wip | default .WIP | default "WIP"
|
||||
}}*{{ $wip }}:* {{ $text }} *:{{ $wip }}*
|
||||
@@ -0,0 +1,3 @@
|
||||
{{ $text := .Get 0
|
||||
}}{{ partial "wip.html" (dict "text" $text "sep" "TBD")
|
||||
}}
|
||||
@@ -0,0 +1,4 @@
|
||||
{{ $text := .Get 0
|
||||
}}{{ $wip := .Get 1 | default "WIP"
|
||||
}}{{ partial "wip.html" (dict "text" $text "wip" $wip)
|
||||
}}
|
||||
Reference in new issue
Block a user