2024-05-16 15:33:44 -07:00
|
|
|
{{ partial "geturl.html" (dict "scratch" .Scratch "path" (.Get 1) "siteSourceUrl" .Site.Params.siteSourceUrl "submoduleLinks" .Site.Data.submodules) }}
|
2024-05-21 20:39:21 -07:00
|
|
|
{{ $groupconfig := dict
|
|
|
|
"url" (.Scratch.Get "bestUrl")
|
2024-05-21 20:59:08 -07:00
|
|
|
"basePath" (.Scratch.Get "bestPath")
|
2024-05-21 20:39:21 -07:00
|
|
|
"path" (.Get 1)
|
|
|
|
"comment" ", entire file"
|
|
|
|
"code" (readFile (printf "code/%s" (.Get 1)))
|
|
|
|
"language" (.Get 0)
|
|
|
|
"opts" "linenos=table"
|
|
|
|
}}
|
|
|
|
{{ partial "highlightgroup.html" $groupconfig }}
|