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/man.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/man.txt') diff --git a/src/man.txt b/src/man.txt index 43a0e1c..9c0fe3b 100644 --- a/src/man.txt +++ b/src/man.txt @@ -2,6 +2,11 @@ title: Man genre: prose +ekphrastic: + image: tbedemugshot.jpg + title: This man refused to open his eyes + link: 'http://collection.hht.net.au/firsthhtpictures/fullRecordPicture.jsp?recnoListAttr=recnoList&recno=31230' + project: title: "Buildings out of air: Paul in the Woods" css: paul @@ -18,9 +23,7 @@ project: link: leg ... -_[THIS MAN REFUSED TO OPEN HIS EYES][man]_ - -![THIS MAN REFUSED TO OPEN HIS EYES](img/tbedemugshot.jpg) +_THIS MAN REFUSED TO OPEN HIS EYES_ Paul read this on an old mugshot in the library. He had taken the [bus][] into town to check out a few books on woodworking and got distracted by the True Crime section. @@ -43,7 +46,6 @@ He wondered what crime he had committed. Above the man's head was written [_T. BEDE.22.11.28 / 203 A_.][emilia] _THIS MAN REFUSED TO OPEN HIS EYES_ was written over his suit, directly below his ribcage. -[man]: http://collection.hht.net.au/firsthhtpictures/fullRecordPicture.jsp?recnoListAttr=recnoList&recno=31230 [emilia]: http://emiliaphillips.com/books/signaletics/ [bus]: boy_bus.html [photograph]: about-the-author.html -- cgit 1.4.1-21-gabe81