mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
refactor: consolidate code block rendering and enhance styling features (#665)
reference issues: #312, #476
This commit is contained in:
@@ -17,6 +17,5 @@
|
||||
{{- site.Home.Store.Set "hasJsonViewer" true -}}
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
{{- $result := transform.HighlightCodeBlock . -}}
|
||||
{{- $result.Wrapped -}}
|
||||
{{- partial "plugin/code-block-wrapper.html" . -}}
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user