danix
's git repository
home
/
my projects
/
theme-danix.xyz.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
forgot to push the dropcap shortcode
[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>