Jacky Zhao
2021-10-25 c1c061fbea8f6cdc6aec4992d21d2df73dc6ba4e
layouts/partials/head.html
@@ -1,8 +1,4 @@
<head>
    <link rel="preconnect" href="https://www.googletagmanager.com">
    <link crossorigin rel="preconnect" href="https://www.google-analytics.com">
    {{ template "_internal/google_analytics.html" . }}
    <!-- Meta tags -->
    <meta charset="UTF-8">
    <meta name="description" content="{{$.Site.Data.config.description}}">
@@ -21,4 +17,11 @@
    </style>
    {{end}}
    {{end}}
</head>
    {{- with resources.Get "darkmode.js" | minify -}}
    <script>
      {{.Content | safeJS }}
    </script>
    {{- end -}}
</head>
{{ template "_internal/google_analytics.html" . }}