diff options
| author | maike <maike@synzr.tw> | 2026-09-02 21:41:31 +0500 |
|---|---|---|
| committer | maike <maike@synzr.tw> | 2026-09-02 22:20:44 +0500 |
| commit | e176c0f0709bd17a46d943b96e631a3f2b1320fb (patch) | |
| tree | 422c5fec7cb4b1f90ec4d895b7f86329bcddb87e /partials/_section.p | |
| parent | e7c15e2602e49355444f5d90819dfd0ea66e47bf (diff) | |
| download | hamster-e176c0f0709bd17a46d943b96e631a3f2b1320fb.tar.gz hamster-e176c0f0709bd17a46d943b96e631a3f2b1320fb.tar.bz2 hamster-e176c0f0709bd17a46d943b96e631a3f2b1320fb.zip | |
Clickable IRL photo
Diffstat (limited to 'partials/_section.p')
| -rw-r--r-- | partials/_section.p | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/partials/_section.p b/partials/_section.p index d6e0b66..44135e1 100644 --- a/partials/_section.p +++ b/partials/_section.p @@ -1,7 +1,8 @@ -@section[id;title;content] +@section[id;content;.title] <section id="$id" class="section"> - <h2 class="title">$title</h2> - + ^if(def $title){ + <h2 class="title">$title</h2> + } $content </section> #end @section[] |
