2026-05-18 21:15:19 -07:00
|
|
|
{{- $url := partial "geturl.html" (dict "path" (.Get 1)) -}}
|
2024-05-21 21:31:37 -07:00
|
|
|
{{- $groupconfig := dict
|
2026-05-18 21:15:19 -07:00
|
|
|
"url" $url.url
|
|
|
|
|
"basePath" $url.basePath
|
2024-05-21 20:39:21 -07:00
|
|
|
"path" (.Get 1)
|
2026-05-19 17:55:22 -07:00
|
|
|
"comment" (i18n "entireFile")
|
2024-05-21 20:39:21 -07:00
|
|
|
"code" (readFile (printf "code/%s" (.Get 1)))
|
|
|
|
|
"language" (.Get 0)
|
|
|
|
|
"opts" "linenos=table"
|
2024-05-21 21:31:37 -07:00
|
|
|
-}}
|
2024-06-09 18:36:54 -07:00
|
|
|
{{- partial "highlightgroup.html" $groupconfig -}}
|