25a2e1f6d975e4fe8a9c26016893b152d9238cd3
[theme-danix.xyz.git] / layouts / shortcodes / dropcap.html
1 {{/*
2 * The dropcap shortcode:
3 *
4 * Usage:
5 *
6 * {{< dropcap class="some class" >}}
7 * your paragraph that will have a drop cap here
8 * {{< /dropcap >}}
9 *
10 */}}
11
12 <p class="has-drop-cap" {{ if .Get "class"}}class="{{ with .Get "class"}}{{.}}{{ end }}"{{end}}>
13 {{ .Inner }}
14 </p>