mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 15:25:31 -04:00
absolute URLs in CSS via hugo variable
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
// all variables set by Hugo's config.toml must go here
|
||||
// stylelint-disable
|
||||
$max-width: {{ printf "%d%s" .Site.Params.pageMaxWidth "px" }};
|
||||
$base-url: "{{ strings.TrimRight "/" .Site.BaseURL }}/"; // consistent trailing forward slash
|
||||
// stylelint-enable
|
||||
|
||||
// Variables & Functions
|
||||
|
Reference in New Issue
Block a user