diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f8390d2..51a7ac2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file. ## v0.2.16 +- :sparkles: Feat: add `raw` shortcode - :sparkles: Feat: add custom aside template in post page ([#172](https://github.com/hugo-fixit/FixIt/issues/172)) - :sparkles: Feat(math): add more block delimiter support for math - :wheelchair: Feat(accessibility): using `aria-hidden=true` on an icon font that AT should ignore diff --git a/docs b/docs index 92bf2584..0560c334 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 92bf258490835007c4ad63015739384be16a8cd6 +Subproject commit 0560c334dbcb448f8f759d2e8dfc8932fa218cad diff --git a/layouts/shortcodes/raw.html b/layouts/shortcodes/raw.html new file mode 100644 index 00000000..506b6a43 --- /dev/null +++ b/layouts/shortcodes/raw.html @@ -0,0 +1,3 @@ + +{{- $tag := .Get "tag" | default (.Get 0) | default "div" -}} +{{- printf `<%v class="fi-row">%v` $tag .Inner $tag | safeHTML -}}