Commit | Line | Data |
---|---|---|
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> |