Browse Source

added microformat tags to homepage

master
jk 5 years ago
parent
commit
dc1bb39cf4
  1. 12
      themes/anatole/layouts/index.html

12
themes/anatole/layouts/index.html

@ -5,9 +5,17 @@
{{ range first 1 .Site.RegularPages }} {{ range first 1 .Site.RegularPages }}
{{ if eq .Type "post"}} {{ if eq .Type "post"}}
<article class="h-entry entry"> <article class="h-entry entry">
<h3><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<div class="h-card p-author" style="display: none;">
<a rel="author" class= "p-name u-url" href="https://jk.nipponalba.scot">J K 🇯🇵🏴󠁧󠁢󠁳󠁣󠁴󠁿</a>
<img class="u-photo" src="/images/profile.jpg" />
</div>
<h3 class="post-title p-name entry-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<h4 class="decription"><a href="{{ .RelPermalink }}">{{ .Description }}</a></h4> <h4 class="decription"><a href="{{ .RelPermalink }}">{{ .Description }}</a></h4>
{{ .Content }}
<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>
</div>
<div class="e-content">{{ .Content }}</div>
</article> </article>
{{ end }} {{ end }}
{{ end }} {{ end }}