Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diwao/hestia-pure.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html111
1 files changed, 60 insertions, 51 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index a74c2c0..6e18a1e 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,51 +1,60 @@
-{{ partial "header.html" . }}
-<main class="main main--single">
- <!-- post -->
- <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
- <h1 class="post__title">{{ .Title }}</h1>
- <p class="post__date">
- <time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}">{{ .Date.Format "2006.01.02" }}</time>
- </p>
- <div class="post-content">
- {{ .Content }}
- </div>
- </article>
- <!-- /post -->
- <hr class="post-hr">
- <!-- post-nav -->
- <nav class="post-nav">
- <ol class="pure-g">
- {{ if .NextInSection }}
- <li class="pure-u-1 pure-u-md-1-2 post-nav-prev">
- <a href="{{.NextInSection.Permalink}}">
- <span class="post-nav-label">新しい記事</span>
- <span class="post-nav-title">
- {{ .NextInSection.Title }}
- </span>
- </a>
- </li>
- {{ else }}
- <li class="pure-u-1 pure-u-md-1-2 post-nav-prev">
- </li>
- {{ end }}
- {{ if .PrevInSection }}
- <li class="pure-u-1 pure-u-md-1-2 post-nav-next">
- <a href="{{.PrevInSection.Permalink}}">
- <span class="post-nav-label">古い記事</span>
- <span class="post-nav-title">
- {{ .PrevInSection.Title }}
- </span>
- </a>
- </li>
- {{ else }}
- <li class="pure-u-1 pure-u-md-1-2 post-nav-next">
- </li>
- {{ end }}
- </ol>
- <div class="post-nav-back">
- <a class="pure-button" href="/">記事一覧へ戻る</a>
- </div>
- </nav>
-<!-- /post-nav -->
-</main>
-{{ partial "footer.html" . }}
+<!DOCTYPE html>
+<html lang="ja">
+{{ partial "head" . }}
+<body>
+ <div id="wrap" class="wrap">
+ {{ partial "header" . }}
+ <main class="main main--single">
+ <!-- post -->
+ <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
+ <h1 class="post__title">{{ .Title }}</h1>
+ <p class="post__date">
+ <time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}">{{ .Date.Format "2006.01.02" }}</time>
+ </p>
+ <div class="post-content">
+ {{ .Content }}
+ </div>
+ </article>
+ <!-- /post -->
+ <hr class="post-hr">
+ <!-- post-nav -->
+ <nav class="post-nav">
+ <ol class="pure-g">
+ {{ if .NextInSection }}
+ <li class="pure-u-1 pure-u-md-1-2 post-nav-prev">
+ <a href="{{.NextInSection.Permalink}}">
+ <span class="post-nav-label">新しい記事</span>
+ <span class="post-nav-title">
+ {{ .NextInSection.Title }}
+ </span>
+ </a>
+ </li>
+ {{ else }}
+ <li class="pure-u-1 pure-u-md-1-2 post-nav-prev">
+ </li>
+ {{ end }}
+ {{ if .PrevInSection }}
+ <li class="pure-u-1 pure-u-md-1-2 post-nav-next">
+ <a href="{{.PrevInSection.Permalink}}">
+ <span class="post-nav-label">古い記事</span>
+ <span class="post-nav-title">
+ {{ .PrevInSection.Title }}
+ </span>
+ </a>
+ </li>
+ {{ else }}
+ <li class="pure-u-1 pure-u-md-1-2 post-nav-next">
+ </li>
+ {{ end }}
+ </ol>
+ <div class="post-nav-back">
+ <a class="pure-button" href="/">記事一覧へ戻る</a>
+ </div>
+ </nav>
+ <!-- /post-nav -->
+ </main>
+ {{ partial "footer" . }}
+ </div>
+{{ partial "js" . }}
+</body>
+</html>