mirror of https://github.com/onweru/compose.git

weru
10.46.2021 83350d061f8a19613c07ebce616b0c725d20e560
add shortcode
1 files added
4 ■■■■ changed files
layouts/shortcodes/tip.html 4 ●●●● patch | view | raw | blame | history
layouts/shortcodes/tip.html
New file
@@ -0,0 +1,4 @@
{{- $type := .Get 0 }}
<div class="tip{{ with $type }} tip_{{ . }}{{ end }}">
  {{ markdownify .Inner }}
</div>