]> BookStack Code Mirror - website/blob - themes/bookstack/layouts/blog/single.html
Moved website to hugo and merged in blog
[website] / themes / bookstack / layouts / blog / single.html
1 {{ partial "header.html" . }}
2
3
4   {{ if .Params.image }}
5     <div class="post-image" style="background-image: url({{.Params.image}});"></div>
6   {{ end }}
7
8 <div class="container">
9
10   <div class="row">
11
12     <div class="col-md-6 col-md-offset-1 col-sm-7 docs-content">
13
14       <h1>{{.Title}}</h1>
15
16       {{.Content}}
17
18       <div class="footer-content">
19         {{ partial "mailchimp.html" . }}
20
21
22         {{ template "_internal/disqus.html" . }}
23       </div>
24     </div>
25
26     <div class="col-md-3 col-md-offset-1 col-sm-4 col-sm-offset-1 blog-sidebar-post-list">
27       <h4>Latest Posts</h4>
28       <div class="recent-posts">
29         {{ range first 8 ( where .Site.Pages "Section" "blog") }}
30           <a class="blogpost-list-small" href="{{.Permalink}}">
31             <h5 class="text">{{ .Title }}</h5>
32             <time class="post-date" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}">
33                 {{ .Date.Format "2 Jan 2006" }}
34             </time>
35           </a>
36         {{ end }}
37       </div>
38     </div>
39
40   </div>
41
42 </div>
43
44 {{ partial "footer.html" . }}