diff options
Diffstat (limited to 'themes/blowfish/layouts/partials/meta/zen-mode.html')
-rw-r--r-- | themes/blowfish/layouts/partials/meta/zen-mode.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/themes/blowfish/layouts/partials/meta/zen-mode.html b/themes/blowfish/layouts/partials/meta/zen-mode.html new file mode 100644 index 0000000..6339e26 --- /dev/null +++ b/themes/blowfish/layouts/partials/meta/zen-mode.html @@ -0,0 +1,14 @@ +{{ $jsZenMode := resources.Get "js/zen-mode.js" }} +{{ $jsZenMode = $jsZenMode | resources.Minify | resources.Fingerprint "sha512" }} + +<script type="text/javascript" src="{{ $jsZenMode.RelPermalink }}" integrity="{{ $jsZenMode.Data.Integrity }}"></script> + +<span class="mb-[2px]"> + <span id="zen-mode-button" + class="text-lg hover:text-primary-500" + title="{{ i18n "article.zen_mode_title.enable" }}" + data-title-i18n-disable="{{ i18n "article.zen_mode_title.enable" }}" + data-title-i18n-enable="{{ i18n "article.zen_mode_title.disable" }}"> + <span class="inline-block align-text-bottom">{{ partial "icon.html" "expand" }}</span> + </span> +</span>
\ No newline at end of file |