mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 15:45:33 -04:00
set max width of pages in Hugo config.toml, retrieve value from SCSS
https://gohugo.io/hugo-pipes/resource-from-template/
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
// all variables set by Hugo's config.toml must go here
|
||||
// stylelint-disable
|
||||
$max-width: {{ printf "%d%s" .Site.Params.pageMaxWidth "px" }};
|
||||
// stylelint-enable
|
||||
|
||||
// Variables & Functions
|
||||
@import 'abstracts/variables';
|
||||
@import 'abstracts/functions';
|
||||
|
Reference in New Issue
Block a user