Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'master' of github.com:n8han/pamflet

  • Loading branch information...
commit d68254f55305712108fba4f55389d6511a7848d9 2 parents 22b27b3 + 2a11b12
Nathan Hamblen authored
3  docs/template.properties
... ... @@ -1,4 +1,5 @@
1 1 version=0.4.0
2 2 vrsn=040
3 3 scala=2.9.1
4   -github=n8han/pamflet
  4 +github=n8han/pamflet
  5 +pamflet.arrow=>
8 library/src/main/scala/printer.scala
@@ -93,7 +93,9 @@ case class Printer(contents: Contents, manifest: Option[String]) {
93 93 }
94 94 val (prev, next) = lastnext(contents.pages, None)
95 95 val bigScreen = "screen and (min-device-width: 800px), projection"
96   -
  96 +
  97 + val arrow = page.template.get("pamflet.arrow") getOrElse "❧"
  98 +
97 99 val html = <html>
98 100 <head>
99 101 <title>{ "%s — %s".format(contents.title, page.name) }</title>
@@ -138,13 +140,13 @@ case class Printer(contents: Contents, manifest: Option[String]) {
138 140 { prev.map { p =>
139 141 <a class="page prev nav" href={ Printer.webify(p)}>
140 142 <span class="space">&nbsp;</span>
141   - <span class="flip"></span>
  143 + <span class="flip">{arrow}</span>
142 144 </a>
143 145 }.toSeq ++
144 146 next.map { n =>
145 147 <a class="page next nav" href={ Printer.webify(n)}>
146 148 <span class="space">&nbsp;</span>
147   - <span></span>
  149 + <span>{arrow}</span>
148 150 </a>
149 151 }.toSeq }
150 152 <div class="container">

0 comments on commit d68254f

Please sign in to comment.
Something went wrong with that request. Please try again.