Browse Source

brid.gy tweaks

master
jk 5 years ago
parent
commit
8b1a7ffabd
  1. 1
      layouts/_default/section.html
  2. 2
      themes/anatole/layouts/_default/single.html
  3. 3
      themes/anatole/layouts/index.html

1
layouts/_default/section.html

@ -5,6 +5,7 @@
{{ range .Paginator.Pages }} {{ range .Paginator.Pages }}
<section data-post-type="{{ .Type }}" class="h-entry {{.Type }}"> <section data-post-type="{{ .Type }}" class="h-entry {{.Type }}">
<div class="p-author author" style="display:none;"> <div class="p-author author" style="display:none;">
<a rel="author" class="p-name u-url u-uid" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}</a>
<img class="u-photo" src="/images/profile.jpg"/> <img class="u-photo" src="/images/profile.jpg"/>
</div> </div>
<aside> <aside>

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

@ -1,6 +1,6 @@
{{ define "main" }} {{ define "main" }}
<article class="post h-entry entry contents"> <article class="post h-entry entry contents">
<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="{{.Type}}" data-post-type="{{.Type }}"><div class="p-author author" style="display:none;"><a rel="author" class="p-name u-url u-uid" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}</a><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> <div class="post-content">{{ with .Page.Params.Image }}{{ partial "taxonomy/image.html" . }}{{ end }}<h3 class="post-title p-name entry-title">{{ .Title }}</h3>
<aside> <aside>
{{ if eq .Type "article" }}<div class="info"> {{ if eq .Type "article" }}<div class="info">

3
themes/anatole/layouts/index.html

@ -4,7 +4,8 @@
<h1>Latest post</h1> <h1>Latest post</h1>
{{ range first 1 .Site.RegularPages }} {{ range first 1 .Site.RegularPages }}
<article class="post h-entry entry contents"> <article class="post h-entry entry contents">
<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="{{.Type}}" data-post-type="{{.Type }}">
<div class="p-author author" style="display:none;"><a rel="author" class="p-name u-url u-uid" rel="me" href="https://jk.nipponalba.scot">{{ .Site.Params.Title }}</a><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> <div class="post-content">{{ with .Page.Params.Image }}{{ partial "taxonomy/image.html" . }}{{ end }}<h3 class="post-title p-name entry-title">{{ .Title }}</h3>
<aside> <aside>
<div class="index_info"> <div class="index_info">