diff options
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index e69de29..e53c4ae 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -0,0 +1,42 @@ +{{ define "main" }} +<div class="row"> +<div class="col-md-8"> + <article class="post" itemscope itemtype="http://schema.org/BlogPosting"> + + <header class="post-header"> + <h1 class="post-title" itemprop="name headline">{{ .Title }}</h1> + <p class="post-meta"><time datetime='{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}' itemprop="datePublished">{{ .Date.Format "January 2, 2006" }}</time>{{ with .Params.Author }} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ . }}</span></span>{{ end }}</p> + + </header> + + <div class="post-content" itemprop="articleBody"> + {{ .Content }} + </div> + + </article> + <div class="row"> + {{ if .Site.Params.disqus }} + {{ partial "disqus.html" . }} + {{ end }} + </div> + + <div class="row"> + <ul class="pager"> + {% if page.next.url %} + <li><a class="next" href="{page.next.url | prepend: site.baseurl}}">« {page.next.title}}</a></li> + {% endif %} + {% if page.previous.url %} + <li><a class="previous" href="{page.previous.url | prepend: site.baseurl}}">{page.previous.title}} »</a></li> + {% endif %} + </ul> + </div> +</div> + + +{{ partial "sidebar.html" . }} + +</div> + + +{{ partial "fb-script.html" . }} +{{ end }}
\ No newline at end of file |