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 /amber-alert.html | |
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 'amber-alert.html')
-rw-r--r-- | amber-alert.html | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/amber-alert.html b/amber-alert.html index 96ce96a..597def6 100644 --- a/amber-alert.html +++ b/amber-alert.html | |||
@@ -42,12 +42,16 @@ | |||
42 | 42 | ||
43 | </header> | 43 | </header> |
44 | 44 | ||
45 | <section class="content prose"> | 45 | <div class="ekphrastic"> |
46 | <p><a href="lappel-du-vide">Lost things</a> have a way of <a href="http://www.poetryfoundation.org/poem/176996">staying lost</a>. They have to want to be found—is that why we tack up signs, hang socks from hooks in the park, have a box for what’s been lost but now is found? Maybe the lost <em>want</em> to be found but we’re looking in the wrong places. Maybe we speak the wrong language, the language of the found, to call to them. Maybe we should <a href="statements-frag.html">try another door</a>.</p> | 46 | <a href="https://en.wikipedia.org/wiki/AMBER_alert"> |
47 | <figure> | 47 | <img src="img/amber.jpg" |
48 | <img src="https://upload.wikimedia.org/wikipedia/en/5/54/Amber_Hagerman.jpg" alt="Amber Hagerman" /><figcaption>Amber Hagerman</figcaption> | 48 | title="Amber Hagerman" |
49 | </figure> | 49 | alt="Amber Hagerman" |
50 | </section> | 50 | /> |
51 | </a> | ||
52 | </div> | ||
53 | |||
54 | <section class="content prose"><p><a href="lappel-du-vide">Lost things</a> have a way of <a href="http://www.poetryfoundation.org/poem/176996">staying lost</a>. They have to want to be found—is that why we tack up signs, hang socks from hooks in the park, have a box for what’s been lost but now is found? Maybe the lost <em>want</em> to be found but we’re looking in the wrong places. Maybe we speak the wrong language, the language of the found, to call to them. Maybe we should <a href="statements-frag.html">try another door</a>.</p></section> | ||
51 | </article> | 55 | </article> |
52 | <nav> | 56 | <nav> |
53 | <a class="prevlink" href="last-bastion.html" | 57 | <a class="prevlink" href="last-bastion.html" |