mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
75ee1624bd
* feat(external-link-guard): add native redirect mode and improve external-link guard UX * fix(external-link-guard): remove redirect_url and clarify scope/new_tab_policy docs * i18n(external-link-guard): localize guard texts across non-English locales * feat(config)!: migrate `site.Params.externalIcon` to `site.Params.link.external_icon` * refactor: implement regular and card link rendering * feat(link-guard): implement link redirection page with copy and confirm functionality * revert * feat: implement link guard dialog for external links --------- Co-authored-by: Cell <1024@lruihao.cn>
11 lines
258 B
HTML
11 lines
258 B
HTML
{{- /*
|
|
This is a debug partial that dumps the current context.
|
|
@example
|
|
{{- partial "_debug/dump.html" . -}}
|
|
*/ -}}
|
|
{{- $debug := (site.Store.Get "devOpts").debug -}}
|
|
|
|
{{- if $debug | and hugo.IsServer -}}
|
|
<pre>{{ debug.Dump . }}</pre>
|
|
{{- end -}}
|