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. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index e2ca320..a41444c 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,11 @@ epigraph: # optional dedication: my mother # optional +ekphrastic: # optional image ekphrastic + image: 'link-to-image.ext' + title: 'Text for title text of image' + link: 'http://link-to-host-of-original/' + project: title: Original project name order: 1 # page number, optional -- cgit 1.4.1-21-gabe81