Browse Source

Merge branch 'master' of http://git.nipponalba.scot/jk/jk_na

master
jk 5 years ago
parent
commit
cc18b102f0
  1. 9
      content/article/tasty-peanut-stew/index.md
  2. 8
      content/note/5eb1e201/index.md
  3. 1
      content/photo/5eb1ea18/index.md
  4. 3
      content/photo/_index.md
  5. 2
      layouts/_default/summary.html
  6. 2
      themes/anatole/layouts/partials/taxonomy/photo.html

9
content/article/tasty-peanut-stew/index.md

@ -1,9 +0,0 @@
---
date: '2020-05-05 23:16:18'
draft: false
photo: null
posttype: article
slug: tasty-peanut-stew
title: 'tasty peanut stew'
---
Some tasty peanut stew (photo upload testl

8
content/note/5eb1e201/index.md

@ -1,8 +0,0 @@
---
date: '2020-05-05 23:00:33'
draft: false
photo: null
posttype: note
slug: 5eb1e201
---
Some pretty much tasty peanut stew

1
content/photo/5eb1ea18/index.md

@ -5,6 +5,7 @@ photo:
- 'https://jk.nipponalba.scot/images/2020/05/1588718102480-796978-800.jpeg' - 'https://jk.nipponalba.scot/images/2020/05/1588718102480-796978-800.jpeg'
posttype: photo posttype: photo
slug: 5eb1ea18 slug: 5eb1ea18
name: '5eb1ea18'
thumbnail: thumbnail:
- 'https://jk.nipponalba.scot/images/2020/05/1588718102480-796978-200.jpeg' - 'https://jk.nipponalba.scot/images/2020/05/1588718102480-796978-200.jpeg'
--- ---

3
content/photo/_index.md

@ -0,0 +1,3 @@
+++
Title = "Photos"
+++

2
layouts/_default/summary.html

@ -2,7 +2,7 @@
<div class="all"> <div class="all">
<h1>All posts</h1> <h1>All posts</h1>
{{ range .Site.RegularPages }} {{ range .Site.RegularPages }}
{{ if eq .Type "post"}}
{{ if eq .Type "photo"}}
<article class="h-entry entry"> <article class="h-entry entry">
<h3 class="post-title p-name entry-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3> <h3 class="post-title p-name entry-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<h4 class="decription"><a href="{{ .RelPermalink }}">{{ .Description }}</a></h4> <h4 class="decription"><a href="{{ .RelPermalink }}">{{ .Description }}</a></h4>

2
themes/anatole/layouts/partials/taxonomy/photo.html

@ -1,6 +1,6 @@
<span class="separator"> <span class="separator">
{{- range $index, $el := . -}} {{- range $index, $el := . -}}
<img class="p-photo" src="{{ ( printf "%s" ( . | urlize ) ) | relLangURL }}" />
<img class="p-photo" src="{{ ( printf "%s" ) ( . | urlize )| RelPermalink }}" />
{{- end -}} {{- end -}}
</span> </span>