Browse Source

more fiddling with h-card images

master
jk 4 years ago
parent
commit
67dca55a83
  1. 2
      layouts/_default/section.html
  2. 2
      themes/anatole/layouts/index.html
  3. 2
      themes/anatole/layouts/partials/sidebar.html

2
layouts/_default/section.html

@ -5,7 +5,7 @@
{{ range .Paginator.Pages }}
<section data-post-type="{{ .Type }}" class="h-entry {{.Type }}">
<div class="author">
<a rel="author" class= "u-author" href="https://jk.nipponalba.scot"><img class="u-photo" src="/images/profile.jpg" /></a>
<a rel="author" class= "u-author" href="https://jk.nipponalba.scot"><img class="u-photo" src="/images/profile.jpg" style="display:none"/></a>
</div>
<aside>
{{if eq .Type "article" }}<a href="{{ .RelPermalink }}" class="link u-url"><h3 class="">{{ .Title }}</h3></a><b>{{ .Description }}</b>{{ end }}

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="{{ .Site.Params.profilePicture | absURL }}" />{{ .Site.Params.Title }}</a>
<a rel="author" class="p-author h-card" href="{{ .RelPermalink }}" style="display:none;"><img class="u-photo" src="/images/profile.jpg" />{{ .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">

2
themes/anatole/layouts/partials/sidebar.html

@ -2,7 +2,7 @@
<img src="{{ .Site.Params.siteLogo | absURL }}" alt="nipponalba logo" id="logo">
<div class="logo-title">
<div class="title h-card p-author">
<img class="u-photo" src="{{ .Site.Params.profilePicture | absURL }}" alt="profile picture">
<img class="u-photo" src="/images/profile.jpg" alt="profile picture">
<h3 title=""><a rel="author" class="p-name u-url u-uid" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}</a></h3>
<div class="description">
<p class="p-note">{{ .Site.Params.description }}</p>