Browse Source

Merge branch 'master' of http://git.nipponalba.scot/jk/jk_na

master
jk 4 years ago
parent
commit
4b6d6d5325
  1. 2
      layouts/_default/section.html
  2. 6
      themes/anatole/layouts/_default/single.html
  3. 7
      themes/anatole/static/css/style.css

2
layouts/_default/section.html

@ -48,7 +48,7 @@
{{ if .inreplyto }}<a href="{{ .inreplyto }}" class="link u-url"> post</a>{{ end }}
{{ if .repostof }}<a href="{{ .repostof }}" class="link u-url"> post</a>{{ end }}</p>
<div class="e-content">{{ .content }}</div><br/>
<a href="{{ .slug | relLangURL }}" class="link u-url time"><time class="dt-published" datetime="{{ .date }}">{{ .date }}</time></a>
<time class="dt-published" datetime="{{ dateFormat "02/01/2006 15:04 GMT" .date }}">{{ dateFormat "02/01/2006 15:04 GMT" .date }}</time>
</article>
</aside>
</section><hr/>

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

@ -1,4 +1,5 @@
{{ define "main" }}
{{ if not (eq .Type "response")}}
<article class="post h-entry entry contents">
<div class="{{.Type}}" data-post-type="{{.Type }}"><div class="p-author author" style="display:none;"><a rel="author" class="p-name u-url u-uid" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}</a><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>
@ -38,7 +39,6 @@
</aside></div>
</div>
</article>
</article>{{end}}
{{ end }}
{{end}}

7
themes/anatole/static/css/style.css

@ -773,6 +773,13 @@ a.btn {
height: 80px;
}
.anchor {
display:none;
}
.anchor:target {
display:block;
}
@media screen and (max-width: 960px) {
.sidebar {