danix
's git repository
home
/
my projects
/
theme-danix.xyz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixing the dropcap display
[theme-danix.xyz.git]
/
layouts
/
shortcodes
/
dropcap.html
diff --git
a/layouts/shortcodes/dropcap.html
b/layouts/shortcodes/dropcap.html
index
25a2e1f
..
778d37a
100644
(file)
--- a/
layouts/shortcodes/dropcap.html
+++ b/
layouts/shortcodes/dropcap.html
@@
-9,6
+9,6
@@
*
*/}}
-<p class="has-drop
-cap" {{ if .Get "class"}}class="{{ with .Get "class"}}{{.}}{{ end }}"{{end}}
>
+<p class="has-drop
cap {{ with .Get "class"}}{{.}}{{ end }}"
>
{{ .Inner }}
</p>
\ No newline at end of file