Commit | Line | Data |
---|---|---|
83283a81 | 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 | ||
b96eccb7 | 12 | <p class="has-dropcap {{ with .Get "class"}}{{.}}{{ end }}"> |
83283a81 | 13 | {{ .Inner }} |
14 | </p> |