about summary refs log tree commit diff stats
path: root/README.md
diff options
context:
space:
mode:
authorCase Duckworth2015-03-12 13:01:16 -0700
committerCase Duckworth2015-03-12 13:01:16 -0700
commit2764ce38ff89667fc4073fb66cdd634caaffd613 (patch)
tree2b574940d00219cddba222222ee2ae13d49ea644 /README.md
parentRemove lua cruft (diff)
downloadautocento-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 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md index e2ca320..a41444c 100644 --- a/README.md +++ b/README.md
@@ -28,6 +28,11 @@ epigraph: # optional
28 28
29dedication: my mother # optional 29dedication: my mother # optional
30 30
31ekphrastic: # optional image ekphrastic
32 image: 'link-to-image.ext'
33 title: 'Text for title text of image'
34 link: 'http://link-to-host-of-original/'
35
31project: 36project:
32 title: Original project name 37 title: Original project name
33 order: 1 # page number, optional 38 order: 1 # page number, optional