Browse Source

cutting back to 1 h-card for site

master
jk 5 years ago
parent
commit
9c192d0c91
  1. 4
      layouts/_default/summary.html
  2. 7
      themes/anatole/layouts/_default/baseof.html
  3. 4
      themes/anatole/layouts/_default/single.html
  4. 6
      themes/anatole/layouts/index.html
  5. 5
      themes/anatole/layouts/partials/footer.html
  6. 2
      themes/anatole/layouts/partials/navbar.html
  7. 2
      themes/anatole/layouts/partials/sidebar.html

4
layouts/_default/summary.html

@ -4,10 +4,6 @@
{{ range .Site.RegularPages }}
{{ if eq .Type "post"}}
<article class="h-entry entry">
<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>
<div class="info">

7
themes/anatole/layouts/_default/baseof.html

@ -1,6 +1,13 @@
<!DOCTYPE html>
<html lang="{{- site.Language.Lang -}}">
{{- partial "head.html" . -}}
<header>
<div class="h-card p-author" style="display: none;">
<a rel="author" class= "p-name u-url u-uid" rel="me" href="https://jk.nipponalba.scot">J K 🇯🇵🏴󠁧󠁢󠁳󠁣󠁴󠁿</a>
<p class="p-note">Quintessentially Celtic, vehemently Viking, passionately European, unashamedly, proudly Scottish, craft beer and single malt whisky lover, enthusiastic cook, vegan, perpetually exhausted dad, pronouns: he/him</p>
<img class="u-photo" src="/images/profile.jpg" />
</div>
</header>
<body>
<input type="checkbox" id="theme-switch" class="theme-switch" autocomplete="on">

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

@ -1,9 +1,5 @@
{{ define "main" }}
<article class="post h-entry entry">
<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>
<div class="post-content">{{ with .Page.Params.Image }}{{ partial "taxonomy/image.html" . }}{{ end }}<h3 class="post-title p-name entry-title">{{ .Title }}</h3>
{{ if eq .Type "article"}}
<div class="info">

6
themes/anatole/layouts/index.html

@ -3,13 +3,7 @@
<div class="about">
<h1>Latest post</h1>
{{ range first 1 .Site.RegularPages }}
<article class="h-entry entry">
<div class="h-card p-author" style="display: none;">
<a rel="author" class= "p-name u-url u-uid" rel="me" href="https://jk.nipponalba.scot">J K 🇯🇵🏴󠁧󠁢󠁳󠁣󠁴󠁿</a>
<p class="p-note">Quintessentially Celtic, vehemently Viking, passionately European, unashamedly, proudly Scottish, craft beer and single malt whisky lover, enthusiastic cook, vegan, perpetually exhausted dad, pronouns: he/him</p>
<img class="u-photo" src="/images/profile.jpg" />
</div>
<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>
<div class="info">

5
themes/anatole/layouts/partials/footer.html

@ -1,8 +1,3 @@
<p class="h-card vcard" style="display:none;">
<img class="u-photo" src="/images/profile.jpg" />
<a class="u-url p-author p-name url" href="https://jk.nipponalba.scot" rel="me">J K 🇯🇵🏴󠁧󠁢󠁳󠁣󠁴󠁿</a>
<a class="u-email" rel="me" href="mailto:jk@nipponalba.scot">jk</a>
</p>
<script>
// This code is only used to remember theme selection between page loads

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

@ -1,4 +1,4 @@
<div class="page-top animated fadeInDown">
<div class="page-top">
<div class="nav">
{{ $currentPage := . }}
{{ range .Site.Menus.main }}

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

@ -1,4 +1,4 @@
<div class="sidebar animated fadeInDown">
<div class="sidebar">
<img src="{{ .Site.Params.siteLogo | absURL }}" alt="nipponalba logo" id="logo">
<div class="logo-title">
<div class="title">