kopia lustrzana https://git.fsfe.org/FSFE/fedigov
Graphics optimization
rodzic
e63b737fa4
commit
8f6a2f7778
|
@ -0,0 +1,19 @@
|
|||
{{- $inServerMode := .Site.IsServer }}
|
||||
{{- $sass := "style.sass" }}
|
||||
{{- $cssTarget := "css/style.css" }}
|
||||
{{- $cssOpts := cond ($inServerMode) (dict "targetPath" $cssTarget "enableSourceMap" true) (dict "targetPath" $cssTarget "outputStyle" "compressed") }}
|
||||
{{- $fontName := .Site.Params.font.name | default "Open Sans" }}
|
||||
{{- $fontFace := replace $fontName " " "+" }}
|
||||
{{- $fontSizes := delimit (.Site.Params.font.sizes | default (slice 300 400 600 700)) "," }}
|
||||
{{- $fontUrl := "/css/fonts.css" }}
|
||||
<link rel="icon" type="image/png" href="{{ "images/favicon.png" | relURL }}" />
|
||||
<link href="{{ $fontUrl }}" rel="stylesheet" type="text/css">
|
||||
{{- if $inServerMode }}
|
||||
{{- $css := resources.Get $sass | toCSS $cssOpts }}
|
||||
<link rel="stylesheet" type="text/css" href="{{ $css.RelPermalink }}">
|
||||
{{- else }}
|
||||
{{- $css := resources.Get $sass | toCSS $cssOpts | minify | fingerprint }}
|
||||
<link rel="stylesheet" type="text/css" href="{{ $css.RelPermalink }}" integrity="{{ $css.Data.Integrity }}">
|
||||
{{- end }}
|
||||
<link rel="stylesheet" type="text/css" href="{{ "css/icons.css" | relURL }}">
|
||||
<link rel="stylesheet" type="text/css" href="{{ "css/custom.css" | relURL }}">
|
|
@ -0,0 +1,3 @@
|
|||
.testimonial .author h5, .testimonial .author span{
|
||||
left: 38%;
|
||||
}
|
Ładowanie…
Reference in New Issue