mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-10 10:45:41 +01:00
Gemini: Show spoilers
This commit is contained in:
parent
098d40be14
commit
9fe8ebdbf5
1 changed files with 7 additions and 0 deletions
7
layouts/shortcodes/spoiler.gmi
Normal file
7
layouts/shortcodes/spoiler.gmi
Normal file
|
@ -0,0 +1,7 @@
|
|||
⚠️ The next paragraph(s) contain spoilers!
|
||||
|
||||
{{ .Inner | markdownify }}
|
||||
|
||||
🛟 Spoilers over!
|
||||
|
||||
{{ .Page.Store.Set "hasSpoilers" true -}}
|
Loading…
Reference in a new issue