Browse Source

brid.gy tweaks

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

4
layouts/_default/section.html

@ -4,8 +4,8 @@
<span id="pagination-top">{{ partial "pagination.html" . }}</span>
{{ 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" style="display:none"><img class="u-photo" src="/images/profile.jpg"/></a>
<div class="p-author author" style="display:none;">
<img class="u-photo" src="/images/profile.jpg"/>
</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/_default/single.html

@ -1,6 +1,6 @@
{{ define "main" }}
<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 p-author h-card" href="{{ .RelPermalink }}"><img class="u-photo" src="/images/profile.jpg" /></a></div>
<div class="{{.Type}}" data-post-type="{{.Type }}"><div class="p-author author" style="display:none;"><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>
<aside>
{{ if eq .Type "article" }}<div class="info">

2
themes/anatole/layouts/index.html

@ -4,7 +4,7 @@
<h1>Latest post</h1>
{{ range first 1 .Site.RegularPages }}
<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 p-author h-card" href="{{ .RelPermalink }}"><img class="u-photo" src="/images/profile.jpg" /></a></div>
<div class="{{.Type}}" data-post-type="{{.Type }}"><div class="p-author author" style="display:none;"><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>
<aside>
<div class="index_info">