You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because layouts/partials/head.html already specifies "css" in fixed path.
<!-- Use customcss if you like -->
{{- if isset .Site.Params "customcss" -}}
<linkrel="stylesheet"type="text/css"media="screen"href="{{ .Site.BaseURL }}css/{{ .Site.Params.customCSS }}" />
{{- end -}}
I got 2 options.
remove "css" from exampleSite/config.toml
remove "css" from layouts/partials/head.html
I feel 2 is good but 1 is better for compatibility.
What do you think?
The text was updated successfully, but these errors were encountered:
Hey @jlandowner, thank you for the detailed information. 👍
I like the first option way more than the second. This might be a bit restricted
if you want a specific path for the customcss but in my opinion the path default
is where the css files should stay.
I found an incorrect example in config.toml.
I set custom css option as referenced in example
exampleSite/config.toml
, but it was not be applied.css is here.
$ ls -lR ./static static/css: total 8 -rw-r--r-- 1 jlandowner staff 203 5 19 21:06 custom.css <- not applied
I found the generated link tag
href
is incorrect.This is because
layouts/partials/head.html
already specifies "css" in fixed path.I got 2 options.
exampleSite/config.toml
layouts/partials/head.html
I feel 2 is good but 1 is better for compatibility.
What do you think?
The text was updated successfully, but these errors were encountered: