From 2764ce38ff89667fc4073fb66cdd634caaffd613 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 12 Mar 2015 13:01:16 -0700 Subject: 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 `` 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. --- src/death-zone.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/death-zone.txt') 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: attrib: Philip Gould link: http://www.npr.org/blogs/13.7/2013/11/19/245996903/embracing-life-and-death +ekphrastic: + image: gould.png + title: Philip Gould + link: 'http://www.npr.org/blogs/13.7/2013/11/19/245996903/embracing-life-and-death' + project: title: Stark Raving css: stark @@ -23,8 +28,6 @@ project: link: amber-alert ... -![Philip Gould](img/gould.png) - When I think of death I think \ of Peter Falk in _The Princess Bride_ patting \ [his pockets][] as he leaves the room -- cgit 1.4.1-21-gabe81