Permalink
Browse files

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

  • Loading branch information...
2 parents 22b27b3 + 2a11b12 commit d68254f55305712108fba4f55389d6511a7848d9 @n8han n8han committed Jul 27, 2012
Showing with 7 additions and 4 deletions.
  1. +2 −1 docs/template.properties
  2. +5 −3 library/src/main/scala/printer.scala
View
@@ -1,4 +1,5 @@
version=0.4.0
vrsn=040
scala=2.9.1
-github=n8han/pamflet
+github=n8han/pamflet
+pamflet.arrow=>
@@ -93,7 +93,9 @@ case class Printer(contents: Contents, manifest: Option[String]) {
}
val (prev, next) = lastnext(contents.pages, None)
val bigScreen = "screen and (min-device-width: 800px), projection"
-
+
+ val arrow = page.template.get("pamflet.arrow") getOrElse ""
+
val html = <html>
<head>
<title>{ "%s — %s".format(contents.title, page.name) }</title>
@@ -138,13 +140,13 @@ case class Printer(contents: Contents, manifest: Option[String]) {
{ prev.map { p =>
<a class="page prev nav" href={ Printer.webify(p)}>
<span class="space">&nbsp;</span>
- <span class="flip"></span>
+ <span class="flip">{arrow}</span>
</a>
}.toSeq ++
next.map { n =>
<a class="page next nav" href={ Printer.webify(n)}>
<span class="space">&nbsp;</span>
- <span></span>
+ <span>{arrow}</span>
</a>
}.toSeq }
<div class="container">

0 comments on commit d68254f

Please sign in to comment.