From 83350d061f8a19613c07ebce616b0c725d20e560 Mon Sep 17 00:00:00 2001
From: weru <fromweru@gmail.com>
Date: Wed, 10 Feb 2021 16:46:57 +0000
Subject: [PATCH] add shortcode
---
layouts/shortcodes/tip.html | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/layouts/shortcodes/tip.html b/layouts/shortcodes/tip.html
new file mode 100644
index 0000000..3e334d9
--- /dev/null
+++ b/layouts/shortcodes/tip.html
@@ -0,0 +1,4 @@
+{{- $type := .Get 0 }}
+<div class="tip{{ with $type }} tip_{{ . }}{{ end }}">
+ {{ markdownify .Inner }}
+</div>
--
Gitblit v1.10.0