mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-10-28 06:15:48 -04:00
organize config.toml params, and stop treating frontmattered CSS as SCSS unnecessarily -- it appears to cause some weird race condition with temporary files every once in a while...? not the intended use anyways though.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
{{ $original := .Page.Resources.GetMatch (.Get "src") }}
|
||||
{{ .Scratch.Set "image" $original }}
|
||||
|
||||
{{ $setWidth := .Site.Params.maxWidth }}
|
||||
{{ $setWidth := .Site.Params.Theme.maxWidth }}
|
||||
|
||||
{{ if .Get "width" }}
|
||||
{{ $setWidth = (int (.Get "width")) }}
|
||||
|
||||
Reference in New Issue
Block a user