mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
fix: hide line number column in code block for RSS feed (#652)
This commit is contained in:
@@ -101,7 +101,7 @@
|
||||
|
||||
{{- /* Insert config */ -}}
|
||||
{{- $targetPath := (strings.TrimPrefix (relURL "") $.RelPermalink) | printf "%s/config/post-chat.js" -}}
|
||||
{{- if (path.Ext .Page.RelPermalink) -}}
|
||||
{{- if (path.Ext .Page.RelPermalink) | or .IsHome -}}
|
||||
{{- $targetPath = "" -}}
|
||||
{{- end -}}
|
||||
{{- dict "Content" $configJS "Path" $targetPath "Defer" true | dict "Page" . "Data" | partial "store/script.html" -}}
|
||||
|
||||
Reference in New Issue
Block a user