diff options
Diffstat (limited to 'TODO/head.html')
-rw-r--r-- | TODO/head.html | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/TODO/head.html b/TODO/head.html new file mode 100644 index 0000000..d97a9ae --- /dev/null +++ b/TODO/head.html @@ -0,0 +1,82 @@ + +{{/* !!!! TODO !!!! +- check about google analytics: (use & need?) +<!-- + {{ if .Site.GoogleAnalytics }} + <script> + window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; + ga('create', '{{ .Site.GoogleAnalytics }}', 'auto'); + {{ if .Site.Params.privacy_pack }}ga('set', 'anonymizeIp', true);{{ end }} + ga('require', 'eventTracker'); + ga('require', 'outboundLinkTracker'); + ga('require', 'urlChangeTracker'); + ga('send', 'pageview'); + </script> + <script async src="//www.google-analytics.com/analytics.js"></script> + <script async src="//cdnjs.cloudflare.com/ajax/libs/autotrack/2.4.1/autotrack.js"></script> + {{ end }} +--> +*/}} + +{{/* !!!! TODO !!!! +- check for RSS stuff: +<!-- + {{ if or .Site.RSSLink .RSSLink }} + <link rel="alternate" href="{{ .RSSLink | default .Site.RSSLink }}" type="application/rss+xml" title="{{ .Site.Title }}"> + <link rel="feed" href="{{ .RSSLink | default .Site.RSSLink }}" type="application/rss+xml" title="{{ .Site.Title }}"> + {{ end }} +--> +*/}} + +{{/* !!!! TODO !!!! +- Favicon: check what they are & if needed: (from "minimal-academic" theme) + (could have a "favicon.html" ...) +<!-- + <link rel="apple-touch-icon" sizes="180x180" href="/img/favicon/apple-touch-icon.png"> + <link rel="icon" type="image/png" sizes="32x32" href="/img/favicon/favicon-32x32.png"> + <link rel="icon" type="image/png" sizes="16x16" href="/img/favicon/favicon-16x16.png"> + <link rel="manifest" href="/img/favicon/site.webmanifest"> + <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"> + <meta name="msapplication-TileColor" content="#da532c"> + <meta name="theme-color" content="#ffffff"> + + <link rel="manifest" href="{{ "site.webmanifest" | relURL }}"> + <link rel="icon" type="image/png" href="{{ "/img/icon.png" | relURL }}"> + <link rel="apple-touch-icon" type="image/png" href="{{ "/img/icon-192.png" | relURL }}"> + + <link rel="canonical" href="{{ .Permalink }}"> +--> +*/}} + +{{/* !!!! TODO !!!! +- check for publish meta stuff: +<!-- + <meta property="og:site_name" content="{{ .Site.Title }}"> + <meta property="og:url" content="{{ .Permalink }}"> + <meta property="og:title" content="{{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}"> + {{- with .Params.header.image }}<meta property="og:image" content="{{ printf "img/%s" . | absURL }}">{{end}} + <meta property="og:locale" content="{{ .Site.LanguageCode | default "en-us" }}"> + {{ if .IsPage }} + {{ if not .PublishDate.IsZero }}<meta property="article:published_time" content="{{ .PublishDate.Format "2006-01-02T15:04:05-07:00" | safeHTML }}"> + {{ else if not .Date.IsZero }}<meta property="article:published_time" content="{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}">{{ end }} + {{ if not .Lastmod.IsZero }}<meta property="article:modified_time" content="{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}">{{ end }} + {{ else }} + {{ if not .Date.IsZero }}<meta property="og:updated_time" content="{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}">{{ end }} + {{ end }} +--> +*/}} + +{{/* +- check if needed... (& what it is): +{{ "<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->" | safeHTML }} +{{ "<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->" | safeHTML }} +{{ "<!--[if lt IE 9]>" | safeHTML }} + <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> + <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> +{{ "<![endif]-->" | safeHTML }} +*/}} + +{{/* !!!! TODO !!!! +- check about google analytics: (use & need?) + {{ template "_internal/google_analytics_async.html" . }} +*/}} |