change under construction website logos and color
This commit is contained in:
@@ -2,3 +2,4 @@
|
||||
Simply place a custom_body.html into
|
||||
your local /layouts/partials-directory.
|
||||
Its content will appear before the closing </body>-tag -->
|
||||
{{ partial "google/analytics_noscript.html" . }}
|
||||
|
||||
@@ -41,4 +41,5 @@
|
||||
{{ with resources.Get "images/favicon/apple-icon-180x180.png" }}<link rel="apple-touch-icon" sizes="180x180" href="{{ .RelPermalink }}" />{{ end }}
|
||||
<!--{{ with resources.Get "images/favicon/favicon.svg" }}<link rel="icon" type="image/svg+xml" href="{{ .RelPermalink }}" />{{ end }}-->
|
||||
{{ range seq 9 4 }}{{ $size := pow 2 . }}{{ $file := replace "images/favicon/favicon-##x##.png" "##" $size }}{{ with resources.Get $file }}
|
||||
<link rel="icon" type="{{ .MediaType.Type }}" sizes="{{- $size -}}x{{- $size -}}" href="{{ .RelPermalink }}" />{{ end }}{{ end }}
|
||||
<link rel="icon" type="{{ .MediaType.Type }}" sizes="{{- $size -}}x{{- $size -}}" href="{{ .RelPermalink }}" />{{ end }}{{ end }}
|
||||
{{ partial "google/analytics.html" . }}
|
||||
|
||||
7
layouts/partials/google/analytics.html
Normal file
7
layouts/partials/google/analytics.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<!-- Google Tag Manager -->
|
||||
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
|
||||
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
|
||||
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
|
||||
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
|
||||
})(window,document,'script','dataLayer','{{ printf "%s" .Site.Params.google_tag_id }}');</script>
|
||||
<!-- End Google Tag Manager -->
|
||||
4
layouts/partials/google/analytics_noscript.html
Normal file
4
layouts/partials/google/analytics_noscript.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<!-- Google Tag Manager (noscript) -->
|
||||
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id={{ printf "%s" .Site.Params.google_tag_id }}"
|
||||
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||
<!-- End Google Tag Manager (noscript) -->
|
||||
Reference in New Issue
Block a user