Extract hardcoded URL to danilafe.com into a site param.

This commit is contained in:
2023-12-30 13:58:56 -08:00
parent e82879434e
commit c728748106
4 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{{ $scratch := .scratch }}
{{ $scratch.Set "bestLength" -1 }}
{{ $scratch.Set "bestUrl" (printf "https://dev.danilafe.com/Web-Projects/blog-static/src/branch/master/code/%s" .path) }}
{{ $scratch.Set "bestUrl" (printf "%s/code/%s" .siteSourceUrl .path) }}
{{ $filePath := .path }}
{{ range $module, $props := .submoduleLinks }}
{{ $path := index $props "path" }}