Browse Source

h-card again

master
jk 4 years ago
parent
commit
b594891af2
  1. 2
      layouts/_default/section.html
  2. 2
      themes/anatole/layouts/_default/single.html
  3. 2
      themes/anatole/layouts/index.html

2
layouts/_default/section.html

@ -35,7 +35,7 @@
{{range .entries}}
<section data-post-type="{{ .posttype }}" data-post-id="{{ .slug }}"class="h-entry">
<div class="author" style="display:none;">
<a rel="author" class="u-author" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}<img src="/images/profile.jpg"/></a>
<a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}<img src="/images/profile.jpg"/></a>
</div>
<aside>
<article class="u-{{ .posttype }} h-cite">

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

@ -2,7 +2,7 @@
{{ if not (eq .Type "response")}}
<article class="post h-entry entry contents">
<div class="author" style="display:none;">
<a rel="author" class="u-author" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}<img src="/images/profile.jpg"/></a>
<a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}<img src="/images/profile.jpg"/></a>
</div>
<div class="post-content">{{ with .Page.Params.Image }}{{ partial "taxonomy/image.html" . }}{{ end }}<h3 class="post-title p-name entry-title">{{ .Title }}</h3>
<aside>

2
themes/anatole/layouts/index.html

@ -6,7 +6,7 @@
<article class="post h-entry entry contents">
<div class="{{.Type}}" data-post-type="{{.Type }}">
<div class="author" style="display:none;">
<a rel="author" class="u-author" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}<img src="/images/profile.jpg"/></a>
<a rel="author" class="u-author h-card" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}<img src="/images/profile.jpg"/></a>
</div>
<div class="post-content">{{ with .Page.Params.Image }}{{ partial "taxonomy/image.html" . }}{{ end }}<h3 class="post-title p-name entry-title">{{ .Title }}</h3>
<aside>