all repos — site @ 4674f19217a98e2812ede2649b91515ece17858c

source for my site, found at icyphox.sh

templates/text: check if .Meta.draft equals "true"
Anirudh Oppiliappan x@icyphox.sh
Sat, 18 Jan 2025 15:02:22 +0200
commit

4674f19217a98e2812ede2649b91515ece17858c

parent

90a2d21f9a0dc18abf59fbc17688cabe89182ea1

2 files changed, 1 insertions(+), 2 deletions(-)

jump to
M pages/blog/identity.mdpages/blog/identity.md

@@ -4,7 +4,6 @@ slug: identity

title: atproto and ownership of identity subtitle: The new age of social-enabled apps date: 2025-01-18 -draft: false --- [atproto](https://atproto.com) is very exciting to me as it's the
M templates/text.htmltemplates/text.html

@@ -20,7 +20,7 @@ {{ $date.Format "02 Jan, 2006" }}

</section> - {{ if .Meta.draft }} + {{ if eq .Meta.draft "true" }} <h1 class="title">{{ index .Meta "title" }} <span class="draft">[draft]</span></h1> {{ else }} <h1 class="title">{{ index .Meta "title" }}</h1>