Extract website theme into its own repository
This commit is contained in:
2
layouts/shortcodes/codeblock.html
Normal file
2
layouts/shortcodes/codeblock.html
Normal file
@@ -0,0 +1,2 @@
|
||||
{{ partial "geturl.html" (dict "scratch" .Scratch "path" (.Get 1) "submoduleLinks" .Site.Params.submoduleLinks) }}
|
||||
{{ partial "highlightgroup.html" (dict "url" (.Scratch.Get "bestUrl") "path" (.Get 1) "comment" ", entire file" "code" (readFile (printf "code/%s" (.Get 1))) "language" (.Get 0) "opts" "linenos=table") }}
|
||||
Reference in New Issue
Block a user