2024-06-09 18:36:54 -07:00
|
|
|
{{- $scratch := newScratch -}}
|
|
|
|
{{- partial "geturl.html" (dict "scratch" $scratch "path" (.Get 0) "siteSourceUrl" .Site.Params.siteSourceUrl "submoduleLinks" .Site.Data.submodules) -}}
|
2024-05-21 21:31:37 -07:00
|
|
|
{{- $groupconfig := dict
|
2024-06-09 18:36:54 -07:00
|
|
|
"url" ($scratch.Get "bestUrl")
|
|
|
|
"basePath" ($scratch.Get "bestPath")
|
2024-05-21 20:59:08 -07:00
|
|
|
"path" (.Get 0)
|
|
|
|
"comment" ", entire file"
|
|
|
|
"content" (safeHTML (printf "<pre><code>%s</code></pre>" (htmlEscape (readFile (printf "code/%s" (.Get 0))))))
|
2024-05-21 21:31:37 -07:00
|
|
|
-}}
|
2024-06-09 18:36:54 -07:00
|
|
|
{{- partial "group.html" $groupconfig -}}
|