diff options
author | Case Duckworth | 2015-03-12 13:01:16 -0700 |
---|---|---|
committer | Case Duckworth | 2015-03-12 13:01:16 -0700 |
commit | 2764ce38ff89667fc4073fb66cdd634caaffd613 (patch) | |
tree | 2b574940d00219cddba222222ee2ae13d49ea644 /src/death-zone.txt | |
parent | Remove lua cruft (diff) | |
download | autocento-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/death-zone.txt')
-rw-r--r-- | src/death-zone.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/death-zone.txt b/src/death-zone.txt index 86108a2..4afa336 100644 --- a/src/death-zone.txt +++ b/src/death-zone.txt | |||
@@ -7,6 +7,11 @@ epigraph: | |||
7 | attrib: Philip Gould | 7 | attrib: Philip Gould |
8 | link: http://www.npr.org/blogs/13.7/2013/11/19/245996903/embracing-life-and-death | 8 | link: http://www.npr.org/blogs/13.7/2013/11/19/245996903/embracing-life-and-death |
9 | 9 | ||
10 | ekphrastic: | ||
11 | image: gould.png | ||
12 | title: Philip Gould | ||
13 | link: 'http://www.npr.org/blogs/13.7/2013/11/19/245996903/embracing-life-and-death' | ||
14 | |||
10 | project: | 15 | project: |
11 | title: Stark Raving | 16 | title: Stark Raving |
12 | css: stark | 17 | css: stark |
@@ -23,8 +28,6 @@ project: | |||
23 | link: amber-alert | 28 | link: amber-alert |
24 | ... | 29 | ... |
25 | 30 | ||
26 | ![Philip Gould](img/gould.png) | ||
27 | |||
28 | When I think of death I think \ | 31 | When I think of death I think \ |
29 | of Peter Falk in _The Princess Bride_ patting \ | 32 | of Peter Falk in _The Princess Bride_ patting \ |
30 | [his pockets][] as he leaves the room | 33 | [his pockets][] as he leaves the room |