2 <html lang="{{.Site.LanguageCode}}">
5 <meta charset="utf-8" />
6 <meta http-equiv="X-UA-Compatible" content="IE=edge" />
8 {{ partial "twitter_card.html" . }}
10 <meta property="og:title" content="{{ if ne .URL "/" }} {{ .Title }} · {{ end }} {{ .Site.Title }}" />
11 <meta property="og:site_name" content="{{ .Site.Title }}" />
12 <meta property="og:url" content="{{ .Permalink }}" />
15 {{ $baseURL := .Site.BaseURL }}
18 {{ with .Params.image }}
19 <!-- Twitter summary card with large image must be at least 280x150px -->
20 <meta name="twitter:card" content="summary_large_image"/>
21 <meta name="og:image" content="{{ $baseURL }}{{ . }}"/>
24 <meta property="og:type" content="article" />
25 <meta property="og:article:published_time" content="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}" />
26 <meta property="og:article:modified_time" content="{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}" />
28 {{ range .Params.tags }}
29 <meta property="og:article:tag" content="{{ . }}" />
32 <meta property="og:type" content="website" />
36 {{ if ne .URL "/" }} {{ .Title }} · {{ end }} {{ .Site.Title }}
39 <meta name="description" content="{{ .Site.Params.description }}" />
41 <meta name="HandheldFriendly" content="True" />
42 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
44 <meta name="theme-color" content="#13557D">
46 <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/images/apple-touch-icon-114x114.png" />
47 <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/images/apple-touch-icon-72x72.png" />
48 <link rel="apple-touch-icon-precomposed" sizes="152x152" href="/images/apple-touch-icon-152x152.png" />
50 <link rel="icon" type="image/png" href="/images/favicon-196x196.png" sizes="196x196" />
51 <link rel="icon" type="image/png" href="/images/favicon-192x192.png" sizes="192x192" />
52 <link rel="icon" type="image/png" href="/images/favicon-96x96.png" sizes="96x96" />
53 <link rel="icon" type="image/png" href="/images/favicon-32x32.png" sizes="32x32" />
55 <link rel="stylesheet" type="text/css" href="{{.Site.BaseURL}}css/styles.css?v=1.3" />
58 {{ if .Site.Params.RSSLink}}
59 <link href="{{.Site.Params.RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
62 <link href="{{ .Site.BaseURL }}index.xml" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
65 <link href="{{.RSSLink}}" rel="alternate" type="application/rss+xml" title="{{ if ne .URL "/" }}{{ .Title }} · {{ end }}{{ .Site.Title }}" />
70 <link rel="canonical" href="{{ .Permalink }}" />
72 {{with .Site.Params.googleAnalyticsUserID }}
75 (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
76 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
77 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
78 })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
80 var GA_LOCAL_STORAGE_KEY = 'ga:clientId';
82 if (window.localStorage) {
83 ga('create', '{{.}}', {
85 'clientId': localStorage.getItem(GA_LOCAL_STORAGE_KEY)
87 ga(function (tracker) {
88 localStorage.setItem(GA_LOCAL_STORAGE_KEY, tracker.get('clientId'));
92 ga('create', '{{.}}', {'storage': 'none'});
95 ga('set', 'anonymizeIp', true);
96 ga('send', 'pageview');
101 <!-- at the end of the HEAD -->
102 <link rel="stylesheet" href="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css" />
103 <!-- at the end of the BODY -->
104 <script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js"></script>
106 {{ if .Site.Params.customHeaderPartial }}
107 {{ partial .Site.Params.customHeaderPartial . }}
110 <body class="nav-closed">
112 <header id="header" class="header">
113 <div class="container">
114 <div class="row fix-mobile">
115 <div class="col-sm-4 col-xs-8">
117 <a href="{{.Site.BaseURL}}">
118 {{partial "icon/logo.svg"}}
124 <div class="col-sm-8 menu col-xs-4">
125 <button tabindex="1" id="menu-button" class="button muted" type="button">{{partial "icon/menu.svg"}}</button>
127 <a href="/docs"><span class="icon">{{partial "icon/book.svg"}}</span>Documentation</a>
128 <a href="/#features"><span class="icon">{{partial "icon/star.svg"}}</span>Features</a>
129 <a href="/#demo"><span class="icon">{{partial "icon/touch_app.svg"}}</span>Demo</a>
130 <a href="https://github.com/BookStackApp/BookStack" target="_blank"><span class="icon">{{partial "icon/github.svg"}}</span>Github</a>
131 <a href="/blog"><span class="icon">{{partial "icon/rss_feed.svg"}}</span>Blog</a>