1 {{ partial "header.html" . }}
5 <div class="post-image" style="background-image: url({{.Params.image}});"></div>
8 <div class="container">
12 <div class="col-md-6 col-md-offset-1 col-sm-7 post-content">
16 <p class="post-date text-muted" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}">
17 {{$author := index .Site.Data.authors (or .Params.author .Site.Params.author)}}
18 {{$authorname := or $author.name .Site.Params.author }}
19 {{$authorthumbnail := or $author.thumbnail .Site.Params.author }}
20 <img class="post-avatar no-border" width="32" src="{{$authorthumbnail}}" alt="{{$authorname}}"> {{$authorname}} posted on the {{ .Date.Format "2" }}{{ if in (slice 1 21 31) .Date.Day}}st{{ else if in (slice 2 22) .Date.Day}}nd{{ else if in (slice 3 23) .Date.Day}}rd{{ else }}th{{ end }} of {{ .Date.Format "January 2006" }}
25 <div class="footer-content">
26 {{ partial "mailchimp.html" . }}
28 <div class="text-muted">
29 Want to let me know what you think of BookStack or this post? <br>
30 You find me on twitter <a href="https://twitter.com/ssddanbrown">@ssddanbrown</a>. <br>
31 You can <a href="https://github.com/BookStackApp/BookStack/issues">open a suggestion or issue on GitHub</a>.
40 <div class="col-md-3 col-md-offset-1 col-sm-4 col-sm-offset-1 blog-sidebar-post-list">
42 <div class="recent-posts">
43 {{ range first 8 ( where .Site.RegularPages "Section" "blog") }}
44 <a class="blogpost-list-small" href="{{.Permalink}}">
45 <h5 class="text">{{ .Title }}</h5>
46 <time class="post-date" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" | safeHTML }}">
47 {{ .Date.Format "2 Jan 2006" }}
58 {{ partial "footer.html" . }}