2015-02-02 09:54:20 +00:00
|
|
|
<!DOCTYPE html>
|
2015-07-13 02:42:06 +00:00
|
|
|
<html lang="{{ .Site.LanguageCode }}">
|
2015-02-03 14:53:05 +00:00
|
|
|
<head prefix="og: http://ogp.me/ns#">
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1" />
|
2015-06-16 04:21:03 +00:00
|
|
|
<meta property="og:title" content="{{ if ne .URL "/" }} {{ .Title }} · {{ end }} {{ .Site.Title }}" />
|
2015-05-11 06:47:02 +00:00
|
|
|
{{ with .Site.Params.themecolor }}
|
|
|
|
<meta name="theme-color" content="{{ . }}" />
|
2015-07-22 02:53:54 +00:00
|
|
|
{{ end }}
|
2015-02-03 14:53:05 +00:00
|
|
|
<meta property="og:site_name" content="{{ .Site.Title }}" />
|
2015-02-02 09:54:20 +00:00
|
|
|
<meta property="og:url" content="{{ .Permalink }}" />
|
2015-04-02 13:00:47 +00:00
|
|
|
{{ with .Params.images }}{{ range first 5 . }}
|
|
|
|
<meta property="og:image" content="{{ . }}" />
|
|
|
|
{{ end }}{{ end }}
|
2015-02-03 14:53:05 +00:00
|
|
|
{{ if .IsPage }}
|
|
|
|
<meta property="og:type" content="article" />
|
|
|
|
{{ with .Site.Params.facebook }}
|
|
|
|
<meta property="og:article:author" content="https://facebook.com/{{ . }}" />
|
|
|
|
{{ end }}
|
2015-06-16 04:21:03 +00:00
|
|
|
<meta property="og:article:published_time" content="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}" />
|
2015-02-03 14:53:05 +00:00
|
|
|
{{ range .Params.tags }}
|
|
|
|
<meta property="og:article:tag" content="{{ . }}" />
|
|
|
|
{{ end }}
|
|
|
|
{{ else }}
|
|
|
|
<meta property="og:type" content="website" />
|
|
|
|
{{ end }}
|
2015-02-02 09:54:20 +00:00
|
|
|
|
2015-02-03 13:42:27 +00:00
|
|
|
<title>
|
2015-06-16 04:21:03 +00:00
|
|
|
{{ if ne .URL "/" }} {{ .Title }} · {{ end }} {{ .Site.Title }}
|
2015-02-03 13:42:27 +00:00
|
|
|
</title>
|
2015-02-02 09:54:20 +00:00
|
|
|
|
2015-06-16 04:21:03 +00:00
|
|
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/bootstrap.min.css" />
|
|
|
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/main.css" />
|
|
|
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/font-awesome.min.css" />
|
|
|
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/github.css" />
|
2015-04-01 07:15:45 +00:00
|
|
|
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400" type="text/css">
|
2017-03-29 20:24:53 +00:00
|
|
|
<link rel="shortcut icon" href="{{ .Site.BaseURL }}images/favicon.png" />
|
2015-06-16 04:21:03 +00:00
|
|
|
{{ if eq .URL "/" }}
|
2015-02-02 09:54:20 +00:00
|
|
|
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
2015-04-02 13:09:56 +00:00
|
|
|
{{ end }}
|
2017-03-29 20:24:53 +00:00
|
|
|
{{ with .Site.Params.google_adsense }}
|
|
|
|
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
|
|
|
<script>
|
|
|
|
(adsbygoogle = window.adsbygoogle || []).push({
|
|
|
|
google_ad_client: "{{ . }}",
|
|
|
|
enable_page_level_ads: true
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
{{ end }}
|
2015-02-02 09:54:20 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2015-06-26 06:05:57 +00:00
|
|
|
<header class="global-header" style="background-image:url({{ if isset .Params "image" }}{{ .Params.image }} {{ else }} /images/bg.jpg {{ end }})">
|
2015-02-02 09:54:20 +00:00
|
|
|
<section class="header-text">
|
2015-06-16 04:21:03 +00:00
|
|
|
<h1><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
|
2015-02-04 17:33:31 +00:00
|
|
|
{{ with .Site.Params.subtitle }}
|
2015-02-02 09:54:20 +00:00
|
|
|
<div class="tag-line">
|
2015-02-04 17:33:31 +00:00
|
|
|
{{ . }}
|
2015-02-02 09:54:20 +00:00
|
|
|
</div>
|
|
|
|
{{ end }}
|
2017-03-29 20:24:53 +00:00
|
|
|
{{ partial "navi.html" . }}
|
2015-02-02 09:54:20 +00:00
|
|
|
</section>
|
|
|
|
</header>
|
|
|
|
<main class="container">
|
2017-03-29 20:24:53 +00:00
|
|
|
{{ with .Site.Params.google_adsense }}
|
|
|
|
<ins class="adsbygoogle"
|
|
|
|
style="display:block"
|
|
|
|
data-ad-client="{{ . }}"
|
|
|
|
data-ad-slot="8599575024"
|
|
|
|
data-ad-format="auto">
|
|
|
|
</ins>
|
|
|
|
<script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>
|
|
|
|
{{ end }}
|