Browse Source

removing some test stuff

master
jk 5 years ago
parent
commit
f57daf2fdd
  1. 18
      content/photo/test-article.md
  2. 5
      layouts/_default/section.html

18
content/photo/test-article.md

@ -1,18 +0,0 @@
---
category:
- temp
- test
date: '2020-05-05 20:18:22'
name: 'test article'
photo:
- '/images/2020/05/1588706301753-842335-1600.jpeg'
posttype: photo
published: true
slug: test-article
thumbnail:
- '/images/2020/05/1588706301753-842335-200.jpeg'
title: 'test article'
---
Testing whether this article works as I hope after tampering with the micropub endpoint.
Random photo!

5
layouts/_default/section.html

@ -14,14 +14,13 @@
{{ .Content }}
</div>
<a href="{{ .RelPermalink }}" class="link u-url"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "02/01/2006 15:04 GMT" }}</time></a>
<div class="post-footer">
{{if eq .Type "article" }}<div class="post-footer">
<div class="info">
{{ with .Page.Params.Blog }}{{ partial "taxonomy/blog.html" . }}{{ end }}
{{ with .Page.Params.Categories }}{{ partial "taxonomy/categories.html" . }}{{ end }}
{{ with .Page.Params.Category }}{{ partial "taxonomy/categories.html" . }}{{ end }}
{{ with .Page.Params.Tags }}{{ partial "taxonomy/tags.html" . }}{{ end }}
</div>
</div>
</div>{{end}}
</aside>
</section><hr/>
{{ end }}