summaryrefslogtreecommitdiffstats
path: root/layouts/shortcodes
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-28 19:03:38 +0200
committerDanilo M. <danix@danix.xyz>2026-04-28 19:03:38 +0200
commit78aec78d7c5977ee4367093b1fd6910e6c6b6cb4 (patch)
treeb570e508ecef974a3adb4578e570632cf22ac3a1 /layouts/shortcodes
parent175d0fa86ae8cdb78d35e84928655b5324cbc66e (diff)
downloaddanixxyz-theme-78aec78d7c5977ee4367093b1fd6910e6c6b6cb4.tar.gz
danixxyz-theme-78aec78d7c5977ee4367093b1fd6910e6c6b6cb4.zip
fix: update deprecated .Site.Languages and .Site.Data APIs to site.Languages and hugo.Data
- Replace .Site.Languages with site.Languages in hamburger-menu.html and header.html - Replace .Site.Data with hugo.Data in repository/single.html and footer.html - Add acronym shortcode for semantic HTML abbr tags with title attributes
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r--layouts/shortcodes/acronym.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/shortcodes/acronym.html b/layouts/shortcodes/acronym.html
new file mode 100644
index 0000000..0813f2e
--- /dev/null
+++ b/layouts/shortcodes/acronym.html
@@ -0,0 +1 @@
+<abbr title="{{ .Get "title" }}">{{ .Inner }}</abbr>