diff options
Diffstat (limited to 'layouts/shortcodes/dropcap.html')
| -rw-r--r-- | layouts/shortcodes/dropcap.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/layouts/shortcodes/dropcap.html b/layouts/shortcodes/dropcap.html new file mode 100644 index 0000000..80cbefe --- /dev/null +++ b/layouts/shortcodes/dropcap.html @@ -0,0 +1,14 @@ +{{/* + * The dropcap shortcode: + * + * Usage: + * + * {{< dropcap class="some class" >}} + * your paragraph that will have a drop cap here + * {{< /dropcap >}} + * + */}} + +<p class="has-dropcap {{ with .Get "class"}}{{.}}{{ end }}"> + {{ .InnerDeindent }} +</p> |
