mirror of
https://github.com/yuzu-mirror/shared-bulma-theme.git
synced 2026-04-21 06:03:37 +00:00
Move per-page CSS to HTML head
This commit is contained in:
parent
275a34b0a2
commit
f108e5d9f0
2 changed files with 8 additions and 4 deletions
|
|
@ -22,7 +22,8 @@
|
|||
<link href="https://fonts.googleapis.com/css?family=Ubuntu|Dosis" rel="stylesheet">
|
||||
<link href="https://use.fontawesome.com/releases/v5.0.2/css/all.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/style.css" />
|
||||
|
||||
{{- block "css" . }}{{- end }}
|
||||
|
||||
{{ if eq (getenv "HUGO_ENV") "PRD" }}
|
||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ .Site.Params.GoogleAnalyticsTrackingId }}"></script>
|
||||
|
|
@ -46,7 +47,7 @@
|
|||
{{- end }}
|
||||
|
||||
{{ .Render "header" }}
|
||||
|
||||
|
||||
{{ block "header" . }}{{ end }}
|
||||
|
||||
{{ $full_width := .Params.FullWidth | default false }}
|
||||
|
|
@ -87,4 +88,4 @@
|
|||
{{- end }}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue