diff options
| -rw-r--r-- | layouts/shortcodes/abbr.html | 2 | ||||
| -rw-r--r-- | layouts/shortcodes/br.html | 1 | ||||
| -rw-r--r-- | layouts/shortcodes/year.html | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/layouts/shortcodes/abbr.html b/layouts/shortcodes/abbr.html new file mode 100644 index 0000000..cee5c3d --- /dev/null +++ b/layouts/shortcodes/abbr.html @@ -0,0 +1,2 @@ +<!-- abbr HTML tag --> +<abbr title="{{ .Get "title" }}">{{ .Get "text" }}</abbr> diff --git a/layouts/shortcodes/br.html b/layouts/shortcodes/br.html index 0ca25d9..4e84243 100644 --- a/layouts/shortcodes/br.html +++ b/layouts/shortcodes/br.html @@ -1 +1,2 @@ +<!-- br HTML tag --> <br> diff --git a/layouts/shortcodes/year.html b/layouts/shortcodes/year.html new file mode 100644 index 0000000..6b40db5 --- /dev/null +++ b/layouts/shortcodes/year.html @@ -0,0 +1 @@ +{{ now.Format "2006" }} |
