dashboard
repositories
filestore
activity
search
login
external-software
/
github_gohugo-theme-ananke
mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
Using resources.PostCSS to handle stylesheets
Regis Philibert
06.19.2021
16fc5e6d801d45d3c907b220245cf3ad58086253
[external-software/github_gohugo-theme-ananke.git]
/
layouts
/
partials
/
site-style.html
1
2
3
4
5
6
7
8
9
10
{{ with resources.Get "/ananke/css/main.css" }}
{{ $settings := dict "config" "/assets/ananke/css/postcss.config.css" }}
{{ $style := . | resources.PostCSS }}
{{ with $style }}
<link rel="stylesheet" href="{{ .RelPermalink }}">
{{ end }}
{{ end }}
{{ range .Site.Params.custom_css }}
<link rel="stylesheet" href="{{ relURL (.) }}">
{{ end }}