Files
FixIt/layouts/_markup/render-codeblock-fixit.html
T
2025-10-14 16:25:34 +08:00

18 lines
656 B
HTML

{{- /*
Hope this easter egg brings you surprise rather than shock :-)
Don't worry, the easter egg will only be triggered in development mode.
*/ -}}
{{- if not hugo.IsProduction -}}
{{- $FixIt := dict
"author" "Lruihao"
"description" "A clean, elegant but advanced blog theme for Hugo."
"homepage" "https://fixit.lruihao.cn"
"repository" "https://github.com/Lruihao/FixIt"
"version" (hugo.Store.Get "version")
| dict "FixIt"
| jsonify (dict "prefix" " " "indent" " ")
-}}
{{- printf "```json {title=\"🧐 Oh, you found a FixIt easter egg 🥚~\", expandDepth=2}\n%s\n```" $FixIt | $.Page.RenderString -}}
{{- end -}}