diff options
Diffstat (limited to 'themes/flog/layouts/_default/single.html')
| -rw-r--r-- | themes/flog/layouts/_default/single.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/themes/flog/layouts/_default/single.html b/themes/flog/layouts/_default/single.html index 330c6fd..e6be8ee 100644 --- a/themes/flog/layouts/_default/single.html +++ b/themes/flog/layouts/_default/single.html @@ -1,7 +1,11 @@ {{ partial "header.html" . }} +<main role="main"> <div class="white z-depth-1"> <main role="main" class="container"> <article itemscope itemtype="http://schema.org/BlogPosting" class="section"> + {{ if .Params.image }} + <img src="/images/{{ .Params.image }}" style="width: 100%;"> + {{ end }} <h1 itemprop="headline" class="header">{{ .Title }}</h1> <span><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "02.01.2006" }}</time></span> <section itemprop="articleBody" class="flow-text"> @@ -10,4 +14,5 @@ </article> </main> </div> +</main> {{ partial "footer.html" . }} |
