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/moongone.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/moongone.txt') diff --git a/src/moongone.txt b/src/moongone.txt index 952301e..fd7e60d 100644 --- a/src/moongone.txt +++ b/src/moongone.txt @@ -2,6 +2,11 @@ title: The moon is gone and in its place a mirror genre: prose +ekphrastic: + image: moongone.jpg + title: The moon is gone + link: 'http://apod.nasa.gov/apod/ap120102.html' + project: title: Elegies for alternate selves css: elegies @@ -14,9 +19,7 @@ project: link: mountain ... -![The moon is gone](img/moongone.jpg) - -The [moon is gone][] and in its place a mirror. Looking at the night sky now +The moon is gone and in its place a mirror. Looking at the night sky now yields nothing but the viewer's own face as viewed from a million miles, surrounded by the landscape he is only vaguely aware of being surrounded by. He believes that he is [alone][], surrounded by desert and mountain, but @@ -30,4 +33,3 @@ completely alone. [alone]: apollo11.html [Earth]: serengeti.html -[moon is gone]: http://apod.nasa.gov/apod/ap120102.html -- cgit 1.4.1-21-gabe81