diff options
author | Case Duckworth | 2015-03-12 13:01:16 -0700 |
---|---|---|
committer | Case Duckworth | 2015-03-12 13:01:16 -0700 |
commit | 2764ce38ff89667fc4073fb66cdd634caaffd613 (patch) | |
tree | 2b574940d00219cddba222222ee2ae13d49ea644 /src/moongone.txt | |
parent | Remove lua cruft (diff) | |
download | autocento-2764ce38ff89667fc4073fb66cdd634caaffd613.tar.gz autocento-2764ce38ff89667fc4073fb66cdd634caaffd613.zip |
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 `<a>` 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.
Diffstat (limited to 'src/moongone.txt')
-rw-r--r-- | src/moongone.txt | 10 |
1 files changed, 6 insertions, 4 deletions
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 @@ | |||
2 | title: The moon is gone and in its place a mirror | 2 | title: The moon is gone and in its place a mirror |
3 | genre: prose | 3 | genre: prose |
4 | 4 | ||
5 | ekphrastic: | ||
6 | image: moongone.jpg | ||
7 | title: The moon is gone | ||
8 | link: 'http://apod.nasa.gov/apod/ap120102.html' | ||
9 | |||
5 | project: | 10 | project: |
6 | title: Elegies for alternate selves | 11 | title: Elegies for alternate selves |
7 | css: elegies | 12 | css: elegies |
@@ -14,9 +19,7 @@ project: | |||
14 | link: mountain | 19 | link: mountain |
15 | ... | 20 | ... |
16 | 21 | ||
17 | ![The moon is gone](img/moongone.jpg) | 22 | The moon is gone and in its place a mirror. Looking at the night sky now |
18 | |||
19 | The [moon is gone][] and in its place a mirror. Looking at the night sky now | ||
20 | yields nothing but the viewer's own face as viewed from a million miles, | 23 | yields nothing but the viewer's own face as viewed from a million miles, |
21 | surrounded by the landscape he is only vaguely aware of being surrounded | 24 | surrounded by the landscape he is only vaguely aware of being surrounded |
22 | by. He believes that he is [alone][], surrounded by desert and mountain, but | 25 | by. He believes that he is [alone][], surrounded by desert and mountain, but |
@@ -30,4 +33,3 @@ completely alone. | |||
30 | 33 | ||
31 | [alone]: apollo11.html | 34 | [alone]: apollo11.html |
32 | [Earth]: serengeti.html | 35 | [Earth]: serengeti.html |
33 | [moon is gone]: http://apod.nasa.gov/apod/ap120102.html | ||