1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 23:35:31 -04:00

hugo mod init, and other cleanup

This commit is contained in:
2020-03-10 23:11:10 -04:00
parent 2b6466fa2f
commit 6c59bb2edc
16 changed files with 147 additions and 123 deletions

View File

@@ -1,5 +1,5 @@
{{/* Default image */}}
{{- $defaultImagePath := (path.Join "content" $.Site.Params.defaultimage) }}
{{- $defaultImagePath := (path.Join "content" $.Site.Params.defaultImage) }}
{{ $.Scratch.Set "defaultImage_url" (replace $defaultImagePath "content/" "") }}
{{ with (imageConfig $defaultImagePath) }}
{{- $.Scratch.Set "defaultImage_width" .Width }}