Update: Products
This commit is contained in:
@@ -52,9 +52,4 @@
|
||||
</div>
|
||||
</div>
|
||||
{{" <!-- copyright part end -->" | safeHTML }}
|
||||
</footer>
|
||||
|
||||
{{ "<!-- Google Map API -->" | safeHTML }}
|
||||
{{ with site.Params.map.gmap_api }}
|
||||
<script src="{{ . | safeURL }}"></script>
|
||||
{{ end }}
|
||||
</footer>
|
||||
@@ -10,46 +10,18 @@
|
||||
<!-- favicon -->
|
||||
{{ partialCached "favicon" .}}
|
||||
|
||||
|
||||
<!-- manifest -->
|
||||
{{ partialCached "manifest" . }}
|
||||
|
||||
|
||||
<!-- site verifications -->
|
||||
{{ partialCached "site-verifications.html" . }}
|
||||
|
||||
|
||||
<!-- opengraph and twitter card -->
|
||||
{{ partial "basic-seo.html" . }}
|
||||
|
||||
|
||||
<!-- custom script -->
|
||||
{{ partialCached "custom-script.html" . }}
|
||||
|
||||
|
||||
<!-- google analytics -->
|
||||
<!-- {{ template "_internal/google_analytics.html" . }} -->
|
||||
|
||||
|
||||
<!-- google tag manager -->
|
||||
<!-- {{ partialCached "gtm.html" . }} -->
|
||||
|
||||
<!-- matomo analytics -->
|
||||
<!-- {{ partialCached "matomo-analytics.html" . }} -->
|
||||
|
||||
|
||||
<!-- Baidu analytics -->
|
||||
<!-- {{ partialCached "baidu-analytics.html" . }} -->
|
||||
|
||||
|
||||
<!-- Plausible Analytics -->
|
||||
<!-- {{ partialCached "plausible-analytics.html" . }} -->
|
||||
|
||||
|
||||
<!-- Counter Analytics -->
|
||||
<!-- {{ partialCached "counter-analytics.html" . }} -->
|
||||
|
||||
|
||||
<!-- Crisp Chat -->
|
||||
{{ partialCached "crisp-chat.html" . }}
|
||||
|
||||
|
||||
@@ -37,17 +37,16 @@
|
||||
{{ $styles = $styles | append (resources.Get .link) }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ $styles := $styles | append (resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "style.scss" . | toCSS) }}
|
||||
{{ $styles := $styles | resources.Concat "/css/style.css" }}
|
||||
|
||||
{{ $styles = $styles | append (resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "style.scss" . | toCSS) }}
|
||||
{{ $styles = $styles | resources.Concat "/css/style.css" }}
|
||||
|
||||
<!-- Purge CSS in Production -->
|
||||
{{ if and hugo.IsProduction site.Params.purge_css }}
|
||||
{{ $styles = $styles | css.PostCSS | fingerprint "sha256" }}
|
||||
{{ $styles = $styles | resources.PostProcess }}
|
||||
{{ $styles = $styles | css.PostCSS }}
|
||||
{{ end }}
|
||||
|
||||
{{ if hugo.IsProduction }}
|
||||
{{ $styles = $styles | minify | fingerprint "sha256" }}
|
||||
{{ end }}
|
||||
|
||||
<!-- <link rel="stylesheet" href="{{ $styles.RelPermalink }}" /> -->
|
||||
|
||||
<style type="text/css">{{$styles.Content | safeCSS}}</style>
|
||||
<link rel="stylesheet" href="{{ $styles.RelPermalink }}" media="all" />
|
||||
|
||||
Reference in New Issue
Block a user