summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Blake Kongslie2012-04-05 13:32:06 -0700
committerJulian Blake Kongslie2012-04-05 13:47:44 -0700
commite11a4dbc199227bfe39442f19967aa6fcb3b7754 (patch)
tree7f443c5fad3957da495ab4279652aa36d2a14ebd
parentStarting work on a new oneshot, Punishment. (diff)
downloadwriting-e11a4dbc199227bfe39442f19967aa6fcb3b7754.tar.xz
Adding trails.
Diffstat (limited to '')
-rw-r--r--ikiwiki-phenylalanine.yaml1
-rw-r--r--ikiwiki-urban.yaml1
-rw-r--r--index.mdwn3
-rw-r--r--novellas/a-little-greed.mdwn2
-rw-r--r--novellas/contingency.mdwn2
-rw-r--r--style.css19
-rw-r--r--templates/page.tmpl19
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:
12 - mdwn 12 - mdwn
13 - meta 13 - meta
14 - table 14 - table
15 - trail
15destdir: /srv/www/aremonadscheating.org/writing 16destdir: /srv/www/aremonadscheating.org/writing
16ENV: 17ENV:
17 TZ: US/Pacific 18 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:
12 - mdwn 12 - mdwn
13 - meta 13 - meta
14 - table 14 - table
15 - trail
15destdir: /srv/www/writing 16destdir: /srv/www/writing
16ENV: 17ENV:
17 TZ: US/Pacific 18 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 @@
1[[!meta title="Miscellaneous writings"]] 1[[!meta title="Miscellaneous writings"]]
2[[!trailoptions circular="yes"]]
2 3
3This is mostly just a place to organize stupid crap I write when I'm bored. 4This is mostly just a place to organize stupid crap I write when I'm bored.
4 5
@@ -17,4 +18,4 @@ My novellas:
17> [[!inline pages="novellas/* and !novellas/*/*" archive="yes" description="Novellas" feedfile="novellas" sort="title"]] 18> [[!inline pages="novellas/* and !novellas/*/*" archive="yes" description="Novellas" feedfile="novellas" sort="title"]]
18 19
19My oneshots: 20My oneshots:
20> [[!inline pages="oneshots/*" archive="yes" description="Oneshots" feedfile="oneshots" sort="title"]] 21> [[!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.
6This novella has [[notes|outlines/a-little-greed]] I use while writing. Likely 6This novella has [[notes|outlines/a-little-greed]] I use while writing. Likely
7spoilers, and subject to change as I write. 7spoilers, and subject to change as I write.
8 8
9> [[!inline pages="./a-little-greed/*" archive="yes" description="A Little Greed" sort="path"]] 9> [[!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.
6This novella has [[notes|outlines/contingency]] I use while writing. Likely 6This novella has [[notes|outlines/contingency]] I use while writing. Likely
7spoilers, and subject to change as I write. 7spoilers, and subject to change as I write.
8 8
9> [[!inline pages="./contingency/*" archive="yes" description="Contingency" sort="path"]] 9> [[!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 {
79 margin-left: 2em; 79 margin-left: 2em;
80} 80}
81 81
82.trail {
83 background-color: #f0f0c9;
84 column-count: 3;
85 -moz-column-count: 3;
86 -webkit-column-count: 3;
87 font-style: italic;
88 text-align: center;
89 padding: 0.4ex;
90}
91
92.trail .prev {
93}
94
95.trail .up {
96}
97
98.trail .next {
99}
100
82.feedlink { font-size: 0.8em; } 101.feedlink { font-size: 0.8em; }
83 102
84.parsel { font-family: "Junkyard"; } 103.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 @@
6 <title><TMPL_VAR TITLE></title> 6 <title><TMPL_VAR TITLE></title>
7 <link rel="stylesheet" href="/yui/reset/reset-min.css" type="text/css" /> 7 <link rel="stylesheet" href="/yui/reset/reset-min.css" type="text/css" />
8 <link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" /> 8 <link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" />
9 <TMPL_LOOP TRAILLOOP>
10 <TMPL_IF PREVPAGE><link rel="pref" href="<TMPL_VAR PREVURL>" title="<TMPL_VAR PREVTITLE>" /></TMPL_IF>
11 <link rel="up" href="<TMPL_VAR TRAILURL>" title="<TMPL_VAR TRAILTITLE>" />
12 <TMPL_IF NEXTPAGE><link rel="next" href="TMPL_VAR NEXTURL>" title="<TMPL_VAR NEXTTITLE>" /></TMPL_IF>
13 </TMPL_LOOP>
9 </head> 14 </head>
10 <body> 15 <body>
11 <section class="header"> 16 <section class="header">
12 <h1><TMPL_VAR TITLE></h1> 17 <h1><TMPL_VAR TITLE></h1>
18 <TMPL_LOOP TRAILLOOP>
19 <div class="trail">
20 <TMPL_IF PREVPAGE><div class="prev"><a href="<TMPL_VAR PREVURL>"><TMPL_VAR PREVTITLE></a></div><TMPL_ELSE><div class="prev">&nbsp;</div></TMPL_IF>
21 <div class="up"><a href="<TMPL_VAR TRAILURL>"><TMPL_VAR TRAILTITLE></a></div>
22 <TMPL_IF NEXTPAGE><div class="next"><a href="<TMPL_VAR NEXTURL>"><TMPL_VAR NEXTTITLE></a></div><TMPL_ELSE><div class="next">&nbsp;</div></TMPL_IF>
23 </div>
24 </TMPL_LOOP>
13 </section> 25 </section>
14 <section class="content"> 26 <section class="content">
15 <TMPL_VAR CONTENT> 27 <TMPL_VAR CONTENT>
16 </section> 28 </section>
17 <section class="footer"> 29 <section class="footer">
30 <TMPL_LOOP TRAILLOOP>
31 <div class="trail">
32 <TMPL_IF PREVPAGE><div class="prev"><a href="<TMPL_VAR PREVURL>"><TMPL_VAR PREVTITLE></a></div><TMPL_ELSE><div class="prev">&nbsp;</div></TMPL_IF>
33 <div class="up"><a href="<TMPL_VAR TRAILURL>"><TMPL_VAR TRAILTITLE></a></div>
34 <TMPL_IF NEXTPAGE><div class="next"><a href="<TMPL_VAR NEXTURL>"><TMPL_VAR NEXTTITLE></a></div><TMPL_ELSE><div class="next">&nbsp;</div></TMPL_IF>
35 </div>
36 </TMPL_LOOP>
18 <div class="lastedited">Last edited <TMPL_VAR MTIME></div> 37 <div class="lastedited">Last edited <TMPL_VAR MTIME></div>
19 </section> 38 </section>
20 </body> 39 </body>