Browse Source

update to hopefully render profile picture via webmentions

master
jk 4 years ago
parent
commit
2ad7d420a2
  1. 2
      themes/anatole/layouts/index.html

2
themes/anatole/layouts/index.html

@ -4,7 +4,7 @@
<h1>Latest post</h1>
{{ range first 1 .Site.RegularPages }}
<article class="h-entry entry">
<a rel="author" class="p-author h-card" href="{{ .RelPermalink }}" style="display:none;"><img class="u-photo" src="/images/profile.png" />{{ .Site.Params.Title }}</a>
<a rel="author" class="p-author h-card" href="{{ .RelPermalink }}" style="display:none;"><img class="u-photo" src="{{ .Site.Params.profilePicture | absURL }}" />{{ .Site.Params.Title }}</a>
{{if eq .Type "article"}}<h3 class="post-title p-name entry-title"><a class="u-url" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<h4 class="decription"><a href="{{ .RelPermalink }}">{{ .Description }}</a></h4>{{end}}
<div class="info">