about summary refs log tree commit diff stats
path: root/src/amber-alert.txt
diff options
context:
space:
mode:
authorCase Duckworth2015-03-12 13:01:16 -0700
committerCase Duckworth2015-03-12 13:01:16 -0700
commit2764ce38ff89667fc4073fb66cdd634caaffd613 (patch)
tree2b574940d00219cddba222222ee2ae13d49ea644 /src/amber-alert.txt
parentRemove lua cruft (diff)
downloadautocento-2764ce38ff89667fc4073fb66cdd634caaffd613.tar.gz
autocento-2764ce38ff89667fc4073fb66cdd634caaffd613.zip
Fix #9 - ekphrastisize some poems
For ekphrastic articles, add `ekphrastic` node to YAML metadata.
This node includes subnodes `image`, `title`, `alt`, `link`, and `class`.
`image` provides a link to the local image--just include the file name
with the extension, not the folder (all images should be in /img/.)
`title` provides the title of the image, and the alt-text, if there
is no `alt` node.
`alt`, if it exists, provides the alt text for the image.
`link`, if present, wraps the image in an `<a>` tag--it should point
to the source web page of the ekphrastic image.
`class`, if present, sets the class(es) for the image, for styling.

In this commit, I've set `ekphrastic` on the four articles that have
them so far: 'The Death Zone,' 'AMBER alert,' 'The moon is gone,' and
'Man.' I've also updated .template.html with the changes, and updated
README.md to reflect the changes in YAML structure.
Diffstat (limited to 'src/amber-alert.txt')
-rw-r--r--src/amber-alert.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/amber-alert.txt b/src/amber-alert.txt index bedf681..c4c7176 100644 --- a/src/amber-alert.txt +++ b/src/amber-alert.txt
@@ -6,6 +6,11 @@ epigraph:
6 content: Apparently it does nothing. 6 content: Apparently it does nothing.
7 link: 'http://www.boston.com/bostonglobe/ideas/articles/2008/07/20/abducted/?page=full' 7 link: 'http://www.boston.com/bostonglobe/ideas/articles/2008/07/20/abducted/?page=full'
8 8
9ekphrastic:
10 image: amber.jpg
11 title: Amber Hagerman
12 link: 'https://en.wikipedia.org/wiki/AMBER_alert'
13
9project: 14project:
10 title: Stark Raving 15 title: Stark Raving
11 css: stark 16 css: stark
@@ -28,8 +33,6 @@ Maybe the lost *want* to be found but we're looking in the wrong places.
28Maybe we speak the wrong language, the language of the found, to call to them. 33Maybe we speak the wrong language, the language of the found, to call to them.
29Maybe we should [try another door][]. 34Maybe we should [try another door][].
30 35
31![Amber Hagerman](https://upload.wikimedia.org/wikipedia/en/5/54/Amber_Hagerman.jpg)
32
33[Lost things]: lappel-du-vide 36[Lost things]: lappel-du-vide
34[staying lost]: http://www.poetryfoundation.org/poem/176996 37[staying lost]: http://www.poetryfoundation.org/poem/176996
35[try another door]: statements-frag.html 38[try another door]: statements-frag.html