860dd3eb62
Since hugo 0.13, .Site.BaseUrl is normalized with a trailing slash.
60 lines
2.3 KiB
HTML
60 lines
2.3 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="ja">
|
|
<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" />
|
|
<meta property="og:title" content="{{ if ne .Url "/" }} {{ .Title }} · {{ end }} {{ .Site.Title }}" />
|
|
<meta property="og:site_name" content="{{ .Site.Title }}" />
|
|
<meta property="og:url" content="{{ .Permalink }}" />
|
|
{{ if .IsPage }}
|
|
<meta property="og:type" content="article" />
|
|
{{ with .Site.Params.facebook }}
|
|
<meta property="og:article:author" content="https://facebook.com/{{ . }}" />
|
|
{{ end }}
|
|
<meta property="og:article:published_time" content="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHtml }}" />
|
|
{{ range .Params.tags }}
|
|
<meta property="og:article:tag" content="{{ . }}" />
|
|
{{ end }}
|
|
{{ else }}
|
|
<meta property="og:type" content="website" />
|
|
{{ end }}
|
|
|
|
<title>
|
|
{{ if ne .Url "/" }} {{ .Title }} · {{ end }} {{ .Site.Title }}
|
|
</title>
|
|
|
|
<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" />
|
|
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400" type="text/css">
|
|
<link rel="shortcut icon" href="{{ .Site.BaseUrl }}images/favicon.ico" />
|
|
<link rel="apple-touch-icon" href="{{ .Site.BaseUrl }}images/apple-touch-icon.png" />
|
|
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
|
</head>
|
|
<body>
|
|
<header class="global-header">
|
|
<section class="header-text">
|
|
<h1><a href="{{ .Site.BaseUrl }}">{{ .Site.Title }}</a></h1>
|
|
{{ with .Site.Params.subtitle }}
|
|
<div class="tag-line">
|
|
{{ . }}
|
|
</div>
|
|
{{ end }}
|
|
{{ partial "link.html" . }}
|
|
{{ if ne .Url "/" }}
|
|
<a href="{{ .Site.BaseUrl }}" class="btn-header btn-back hidden-xs">
|
|
<i class="fa fa-angle-left"></i>
|
|
Home
|
|
</a>
|
|
{{ end }}
|
|
{{ with .RSSLink }}
|
|
<a href="{{ . }}" class="btn-header btn-subscribe hidden-xs">
|
|
<i class="fa fa-rss"></i>
|
|
Subscribe
|
|
</a>
|
|
{{ end }}
|
|
</section>
|
|
</header>
|
|
<main class="container">
|