feat: Add abbr shortcode
This commit is contained in:
parent
3cfb870f99
commit
a51cb31c02
2 changed files with 5 additions and 4 deletions
|
@ -48,10 +48,8 @@ by the pictures), and am sometimes called "one of those crazy, Wyoming dairy cow
|
||||||
people." I love anything to do with cattle or technology, but especially
|
people." I love anything to do with cattle or technology, but especially
|
||||||
anything to do with both of them.
|
anything to do with both of them.
|
||||||
|
|
||||||
_<abbr
|
_{{< abbr "Born again, fundamentalist, dispensationalist, King James Bible-believing, independent Baptist" >}}Christian{{< /abbr >}},
|
||||||
title="Born again, fundamentalist, dispensationalist, King James Bible-believing, independent Baptist"
|
American, Convervative, Pro-gun, Heterosexual - any questions?_
|
||||||
>Christian</abbr
|
|
||||||
>, American, Convervative, Pro-gun, Heterosexual - any questions?_
|
|
||||||
|
|
||||||
## Where am I?
|
## Where am I?
|
||||||
|
|
||||||
|
|
3
layouts/shortcodes/abbr.html
Normal file
3
layouts/shortcodes/abbr.html
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<abbr {{ with .Get 0 }}title="{{ . }}"{{ end }}>
|
||||||
|
{{ .Inner | markdownify }}
|
||||||
|
</abbr>
|
Loading…
Reference in a new issue