Browse Source

fixing some loose divs

master
jk 5 years ago
parent
commit
d026b106dd
  1. 2
      layouts/_default/section.html
  2. 8
      themes/anatole/layouts/_default/single.html

2
layouts/_default/section.html

@ -8,7 +8,7 @@
<a rel="author" class= "u-author" href="https://jk.nipponalba.scot"><img class="u-photo" src="/images/profile.jpg" /></a>
</div>
<aside>
{{if eq .Type "article" }}<h4 class="">{{ .Title }}</h4><b>{{ .Description }}</b>{{ end }}
{{if eq .Type "article" }}<a href="{{ .RelPermalink }}" class="link u-url"><h4 class="">{{ .Title }}</h4></a><b>{{ .Description }}</b>{{ end }}
<div class="e-content">
{{ .Content }}
</div>

8
themes/anatole/layouts/_default/single.html

@ -5,14 +5,14 @@
<img class="u-photo" src="/images/profile.jpg" />
</div>
<div class="post-content">{{ with .Page.Params.Image }}{{ partial "taxonomy/image.html" . }}{{ end }}<h3 class="post-title p-name entry-title">{{ .Title }}</h3>
{{ if eq .Type "post"}}
{{ if eq .Type "article"}}
<div class="info">
<i class="fa fa-sun"></i><span class="date"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "Mon, Jan 2, 2006" }}</time></span>
<i class="fa fa-clock"></i><span class="reading-time">{{ .ReadingTime }}-minute read</span>
{{ end }}
</div>
{{ end }}
<div class="e-content">{{ .Content }}</div>
{{ if eq .Type "article"}}
<div class="post-footer">
<div class="info">
{{ with .Page.Params.Blog }}{{ partial "taxonomy/blog.html" . }}{{ end }}
@ -20,7 +20,7 @@
{{ with .Page.Params.Tags }}{{ partial "taxonomy/tags.html" . }}{{ end }}
</div>
</div>
{{ end }}
{{ if eq .Type "article"}}
{{ if .Site.DisqusShortname -}}
<div id="fb_comments_container">