Danila Fedorin
77b8d5e65b
I didn't know about https://gohugo.io/templates/data-templates/ Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
3 lines
370 B
HTML
3 lines
370 B
HTML
{{ partial "geturl.html" (dict "scratch" .Scratch "path" (.Get 0) "siteSourceUrl" .Site.Params.siteSourceUrl "submoduleLinks" .Site.Data.submodules) }}
|
|
{{ partial "group.html" (dict "url" (.Scratch.Get "bestUrl") "path" (.Get 0) "comment" ", entire file" "content" (safeHTML (printf "<pre><code>%s</code></pre>" (htmlEscape (readFile (printf "code/%s" (.Get 0))))))) }}
|