From e11a4dbc199227bfe39442f19967aa6fcb3b7754 Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Thu, 5 Apr 2012 13:32:06 -0700 Subject: Adding trails. --- ikiwiki-phenylalanine.yaml | 1 + ikiwiki-urban.yaml | 1 + index.mdwn | 3 ++- novellas/a-little-greed.mdwn | 2 +- novellas/contingency.mdwn | 2 +- style.css | 19 +++++++++++++++++++ templates/page.tmpl | 19 +++++++++++++++++++ 7 files changed, 44 insertions(+), 3 deletions(-) diff --git a/ikiwiki-phenylalanine.yaml b/ikiwiki-phenylalanine.yaml index 595fc76..6bf208d 100644 --- a/ikiwiki-phenylalanine.yaml +++ b/ikiwiki-phenylalanine.yaml @@ -12,6 +12,7 @@ default_plugins: - mdwn - meta - table + - trail destdir: /srv/www/aremonadscheating.org/writing ENV: TZ: US/Pacific diff --git a/ikiwiki-urban.yaml b/ikiwiki-urban.yaml index 6b649ce..cd34e2f 100644 --- a/ikiwiki-urban.yaml +++ b/ikiwiki-urban.yaml @@ -12,6 +12,7 @@ default_plugins: - mdwn - meta - table + - trail destdir: /srv/www/writing ENV: TZ: US/Pacific diff --git a/index.mdwn b/index.mdwn index 64c038f..6898387 100644 --- a/index.mdwn +++ b/index.mdwn @@ -1,4 +1,5 @@ [[!meta title="Miscellaneous writings"]] +[[!trailoptions circular="yes"]] This is mostly just a place to organize stupid crap I write when I'm bored. @@ -17,4 +18,4 @@ My novellas: > [[!inline pages="novellas/* and !novellas/*/*" archive="yes" description="Novellas" feedfile="novellas" sort="title"]] My oneshots: -> [[!inline pages="oneshots/*" archive="yes" description="Oneshots" feedfile="oneshots" sort="title"]] +> [[!inline pages="oneshots/*" archive="yes" description="Oneshots" feedfile="oneshots" sort="title" trail="yes"]] diff --git a/novellas/a-little-greed.mdwn b/novellas/a-little-greed.mdwn index 573b208..235988b 100644 --- a/novellas/a-little-greed.mdwn +++ b/novellas/a-little-greed.mdwn @@ -6,4 +6,4 @@ Wizarding Britain. Very OOC Harry. This novella has [[notes|outlines/a-little-greed]] I use while writing. Likely spoilers, and subject to change as I write. -> [[!inline pages="./a-little-greed/*" archive="yes" description="A Little Greed" sort="path"]] +> [[!inline pages="./a-little-greed/*" archive="yes" description="A Little Greed" sort="path" trail="yes"]] diff --git a/novellas/contingency.mdwn b/novellas/contingency.mdwn index ae81f79..7c527c5 100644 --- a/novellas/contingency.mdwn +++ b/novellas/contingency.mdwn @@ -6,4 +6,4 @@ One of those plans just backfired. H/Hr Redo. This novella has [[notes|outlines/contingency]] I use while writing. Likely spoilers, and subject to change as I write. -> [[!inline pages="./contingency/*" archive="yes" description="Contingency" sort="path"]] +> [[!inline pages="./contingency/*" archive="yes" description="Contingency" sort="path" trail="yes"]] diff --git a/style.css b/style.css index afa0a5c..f48ae33 100644 --- a/style.css +++ b/style.css @@ -79,6 +79,25 @@ ul li { margin-left: 2em; } +.trail { + background-color: #f0f0c9; + column-count: 3; + -moz-column-count: 3; + -webkit-column-count: 3; + font-style: italic; + text-align: center; + padding: 0.4ex; +} + +.trail .prev { +} + +.trail .up { +} + +.trail .next { +} + .feedlink { font-size: 0.8em; } .parsel { font-family: "Junkyard"; } diff --git a/templates/page.tmpl b/templates/page.tmpl index bef43ed..392be84 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -6,15 +6,34 @@