Remove newlines from group dict info
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{{ partial "geturl.html" (dict "scratch" .Scratch "path" (.Get 1) "siteSourceUrl" .Site.Params.siteSourceUrl "submoduleLinks" .Site.Data.submodules) }}
|
||||
{{ $groupconfig := dict
|
||||
{{- $groupconfig := dict
|
||||
"url" (.Scratch.Get "bestUrl")
|
||||
"basePath" (.Scratch.Get "bestPath")
|
||||
"path" (.Get 1)
|
||||
@@ -7,5 +7,5 @@
|
||||
"code" (readFile (printf "code/%s" (.Get 1)))
|
||||
"language" (.Get 0)
|
||||
"opts" "linenos=table"
|
||||
}}
|
||||
-}}
|
||||
{{ partial "highlightgroup.html" $groupconfig }}
|
||||
|
||||
Reference in New Issue
Block a user