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:
@@ -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 }}
|
||||
|
Reference in New Issue
Block a user