mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
Use camelCase variables on custom_css, custom_js and custom_scss (#434)
* Rename custom_css variable to customCSS * Rename custom_js variable to customJS * Change contribuitors.md * Rename custom_scss to customSCSS * Add custom SCSS on example config.toml * Add customSCSS on stackbit.yaml
This commit is contained in:
committed by
GitHub
parent
561082dbfa
commit
82ccf83b1e
@@ -57,11 +57,11 @@
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ range .Site.Params.custom_css }}
|
||||
{{ range .Site.Params.customCSS }}
|
||||
<link rel="stylesheet" href="{{ . | relURL }}" />
|
||||
{{ end }}
|
||||
|
||||
{{ range .Site.Params.custom_scss }}
|
||||
{{ range .Site.Params.customSCSS }}
|
||||
{{/* We don't change the targetPath to because it's transparent to users */}}
|
||||
{{ if $.Site.IsServer }}
|
||||
{{ $cssOpts := (dict "enableSourceMap" true ) }}
|
||||
@@ -117,7 +117,7 @@
|
||||
<script src="{{ $script.RelPermalink }}"></script>
|
||||
{{ end }}
|
||||
|
||||
{{ range .Site.Params.custom_js }}
|
||||
{{ range .Site.Params.customJS }}
|
||||
<script src="{{ . | relURL }}"></script>
|
||||
{{ end }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user