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/amber-alert.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/amber-alert.txt') 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: content: Apparently it does nothing. link: 'http://www.boston.com/bostonglobe/ideas/articles/2008/07/20/abducted/?page=full' +ekphrastic: + image: amber.jpg + title: Amber Hagerman + link: 'https://en.wikipedia.org/wiki/AMBER_alert' + project: title: Stark Raving css: stark @@ -28,8 +33,6 @@ Maybe the lost *want* to be found but we're looking in the wrong places. Maybe we speak the wrong language, the language of the found, to call to them. Maybe we should [try another door][]. -![Amber Hagerman](https://upload.wikimedia.org/wikipedia/en/5/54/Amber_Hagerman.jpg) - [Lost things]: lappel-du-vide [staying lost]: http://www.poetryfoundation.org/poem/176996 [try another door]: statements-frag.html -- cgit 1.4.1-21-gabe81