summaryrefslogtreecommitdiff
path: root/layouts/shortcodes
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-01-20 12:22:42 +0800
committerEltrac <hi@guhub.cn>2025-01-20 12:22:42 +0800
commit0ce7fab39c960cb28da011e0f5b980e1338e82fe (patch)
treed23afd0bc04ec72b92784140d745bfe6f9cb6926 /layouts/shortcodes
parentc6e524ada08ed8ed4daf96dc967077236af18f61 (diff)
feat(theme): short code for right aligning
Former-commit-id: 505053ed69eed82e9d8f6548096558ba90e5c5dd
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r--layouts/shortcodes/right.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/shortcodes/right.html b/layouts/shortcodes/right.html
new file mode 100644
index 00000000..775dcc04
--- /dev/null
+++ b/layouts/shortcodes/right.html
@@ -0,0 +1 @@
+<p style="text-align: right">{{ index .Params 0 | markdownify }}</p>