about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorCase Duckworth2015-03-12 13:01:16 -0700
committerCase Duckworth2015-03-12 13:01:16 -0700
commit2764ce38ff89667fc4073fb66cdd634caaffd613 (patch)
tree2b574940d00219cddba222222ee2ae13d49ea644 /src
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 'src')
-rw-r--r--src/amber-alert.txt7
-rw-r--r--src/death-zone.txt7
-rw-r--r--src/man.txt10
-rw-r--r--src/moongone.txt10
4 files changed, 22 insertions, 12 deletions
diff --git a/src/amber-alert.txt b/src/amber-alert.txt index bedf681..c4c7176 100644 --- a/src/amber-alert.txt +++ b/src/amber-alert.txt
@@ -6,6 +6,11 @@ epigraph:
6 content: Apparently it does nothing. 6 content: Apparently it does nothing.
7 link: 'http://www.boston.com/bostonglobe/ideas/articles/2008/07/20/abducted/?page=full' 7 link: 'http://www.boston.com/bostonglobe/ideas/articles/2008/07/20/abducted/?page=full'
8 8
9ekphrastic:
10 image: amber.jpg
11 title: Amber Hagerman
12 link: 'https://en.wikipedia.org/wiki/AMBER_alert'
13
9project: 14project:
10 title: Stark Raving 15 title: Stark Raving
11 css: stark 16 css: stark
@@ -28,8 +33,6 @@ Maybe the lost *want* to be found but we're looking in the wrong places.
28Maybe we speak the wrong language, the language of the found, to call to them. 33Maybe we speak the wrong language, the language of the found, to call to them.
29Maybe we should [try another door][]. 34Maybe we should [try another door][].
30 35
31![Amber Hagerman](https://upload.wikimedia.org/wikipedia/en/5/54/Amber_Hagerman.jpg)
32
33[Lost things]: lappel-du-vide 36[Lost things]: lappel-du-vide
34[staying lost]: http://www.poetryfoundation.org/poem/176996 37[staying lost]: http://www.poetryfoundation.org/poem/176996
35[try another door]: statements-frag.html 38[try another door]: statements-frag.html
diff --git a/src/death-zone.txt b/src/death-zone.txt index 86108a2..4afa336 100644 --- a/src/death-zone.txt +++ b/src/death-zone.txt
@@ -7,6 +7,11 @@ epigraph:
7 attrib: Philip Gould 7 attrib: Philip Gould
8 link: http://www.npr.org/blogs/13.7/2013/11/19/245996903/embracing-life-and-death 8 link: http://www.npr.org/blogs/13.7/2013/11/19/245996903/embracing-life-and-death
9 9
10ekphrastic:
11 image: gould.png
12 title: Philip Gould
13 link: 'http://www.npr.org/blogs/13.7/2013/11/19/245996903/embracing-life-and-death'
14
10project: 15project:
11 title: Stark Raving 16 title: Stark Raving
12 css: stark 17 css: stark
@@ -23,8 +28,6 @@ project:
23 link: amber-alert 28 link: amber-alert
24... 29...
25 30
26![Philip Gould](img/gould.png)
27
28When I think of death I think \ 31When I think of death I think \
29of Peter Falk in _The Princess Bride_ patting \ 32of Peter Falk in _The Princess Bride_ patting \
30[his pockets][] as he leaves the room 33[his pockets][] as he leaves the room
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 @@
2title: Man 2title: Man
3genre: prose 3genre: prose
4 4
5ekphrastic:
6 image: tbedemugshot.jpg
7 title: This man refused to open his eyes
8 link: 'http://collection.hht.net.au/firsthhtpictures/fullRecordPicture.jsp?recnoListAttr=recnoList&recno=31230'
9
5project: 10project:
6 title: "Buildings out of air: Paul in the Woods" 11 title: "Buildings out of air: Paul in the Woods"
7 css: paul 12 css: paul
@@ -18,9 +23,7 @@ project:
18 link: leg 23 link: leg
19... 24...
20 25
21_[THIS MAN REFUSED TO OPEN HIS EYES][man]_ 26_THIS MAN REFUSED TO OPEN HIS EYES_
22
23![THIS MAN REFUSED TO OPEN HIS EYES](img/tbedemugshot.jpg)
24 27
25Paul read this on an old mugshot in the library. 28Paul read this on an old mugshot in the library.
26He had taken the [bus][] into town to check out a few books on woodworking and got distracted by the True Crime section. 29He 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.
43Above the man's head was written [_T. BEDE.22.11.28 / 203 A_.][emilia] 46Above the man's head was written [_T. BEDE.22.11.28 / 203 A_.][emilia]
44_THIS MAN REFUSED TO OPEN HIS EYES_ was written over his suit, directly below his ribcage. 47_THIS MAN REFUSED TO OPEN HIS EYES_ was written over his suit, directly below his ribcage.
45 48
46[man]: http://collection.hht.net.au/firsthhtpictures/fullRecordPicture.jsp?recnoListAttr=recnoList&recno=31230
47[emilia]: http://emiliaphillips.com/books/signaletics/ 49[emilia]: http://emiliaphillips.com/books/signaletics/
48[bus]: boy_bus.html 50[bus]: boy_bus.html
49[photograph]: about-the-author.html 51[photograph]: about-the-author.html
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 @@
2title: The moon is gone and in its place a mirror 2title: The moon is gone and in its place a mirror
3genre: prose 3genre: prose
4 4
5ekphrastic:
6 image: moongone.jpg
7 title: The moon is gone
8 link: 'http://apod.nasa.gov/apod/ap120102.html'
9
5project: 10project:
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) 22The moon is gone and in its place a mirror. Looking at the night sky now
18
19The [moon is gone][] and in its place a mirror. Looking at the night sky now
20yields nothing but the viewer's own face as viewed from a million miles, 23yields nothing but the viewer's own face as viewed from a million miles,
21surrounded by the landscape he is only vaguely aware of being surrounded 24surrounded by the landscape he is only vaguely aware of being surrounded
22by. He believes that he is [alone][], surrounded by desert and mountain, but 25by. 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