Skip to content
Permalink
Browse files

fix ImgAlt woes and add an archetype for the /photos folder

  • Loading branch information
jasikpark committed Jan 3, 2020
1 parent 9f5f115 commit ef1c6b38662a976901b34792a38abe383b7cdae0
@@ -0,0 +1,9 @@
+++
Description = ""
Tags = []
Categories = []
Type = "post"
Date = "{{ .Date }}"
Title = ""
ImgAlt =""
+++
@@ -3,6 +3,7 @@ date = "2019-03-21T17:11:21-05:00"
draft = false
title = "Coco Mlem"
type = "post"
ImgAlt = "blurry photo of black dog with reindeer antlers on her head, licking her own nose"
+++

{{< img src="coco-mlem.jpg" alt="blurry photo of black dog with reindeer antlers on her head, licking her own nose" >}}

Check warning on line 9 in content/coco-mlem/index.md

prosebot / Alex

content/coco-mlem/index.md#L9

Reconsider using “black”, it may be profane

Check warning on line 9 in content/coco-mlem/index.md

prosebot / Alex

content/coco-mlem/index.md#L9

`her` may be insensitive, when referring to a person, use `their`, `theirs`, `them` instead

Check warning on line 9 in content/coco-mlem/index.md

prosebot / Alex

content/coco-mlem/index.md#L9

`her` may be insensitive, when referring to a person, use `their`, `theirs`, `them` instead
@@ -5,7 +5,7 @@ Categories = []
Type = "post"
Date = "2019-10-02T21:12:32-05:00"
Title = "Fig Tree!"
ImgAlt = "pic of fig tree at parent's house Sept 9th, 2019"
ImgAlt = "pic of fig tree at parent's house"
+++

{{< img src="fig-tree-at-parents-house-september-9th-2019.jpg" alt="pic of fig tree at parent's house Sept 9th, 2019" >}}
@@ -5,7 +5,7 @@ Categories = []
Type = "post"
Date = "2019-07-23T20:44:14-05:00"
Title = "First Plant Post"
ImageAlt = "milo the cat sunbathes in the window, with lots of plants around him"
ImgAlt = "milo the cat sunbathes in the window, with lots of plants around him"
+++

{{< img src="plants-and-milo.jpg" alt="milo the cat sunbathes in the window, with lots of plants around him" >}}

Check warning on line 11 in content/photos/first-plant-post/index.md

prosebot / Alex

content/photos/first-plant-post/index.md#L11

`him` may be insensitive, when referring to a person, use `their`, `theirs`, `them` instead
@@ -5,7 +5,7 @@ Categories = []
Type = "post"
Date = "2019-09-13T00:06:44-05:00"
Title = "Madi wanted this."
ImageAlt = "hedgehog"
ImgAlt = "hedgehog"
+++

{{< img src="hedgehog.jpg" alt="hedgehog" >}}
@@ -5,7 +5,7 @@ Categories = []
Type = "post"
Date = "2019-09-07T14:15:14-05:00"
Title = "Hello"
ImageAlt = "picture of a stuffed creature with a cute face"
ImgAlt = "picture of a stuffed creature with a cute face"
+++

{{< img src="hello.jpeg"
@@ -15,7 +15,7 @@
src='{{ .Permalink }}'
{{ end }}
{{ end }}
alt="{{ .Params.ImageAlt }}"/>
alt="{{ .Params.ImgAlt }}"/>
</a>
</div>
{{ end }}
@@ -28,7 +28,7 @@ xmlns:atom="http://www.w3.org/2005/Atom"
{{ end }}
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
<guid>{{ .Permalink }}</guid>
<description>{{ .Summary | html }}</description>
<description>{{ .Params.ImgAlt }}</description>
<content:encoded>
{{- .Content | html }}
<div>Send me an email at <a href="mailto:calebjasik@jasik.xyz">calebjasik@jasik.xyz</a> if you want to.</div>
@@ -52,4 +52,4 @@
src="{{ $src.RelPermalink }}"
{{ end }}
{{ with .Get "alt" }}alt='{{.}}'{{ end }}
{{ with .Get "title" }}title='{{.}}'{{ end }}>
{{ with .Get "title" }}title='{{.}}'{{ end }}/>

0 comments on commit ef1c6b3

Please sign in to comment.
You can’t perform that action at this time.