Simple epub reader

This commit is contained in:
Las Zenow 2012-08-21 18:15:21 +02:00
parent 921cea3efb
commit 93003534e9
4 changed files with 139 additions and 0 deletions

31
templates/read.html Normal file
View file

@ -0,0 +1,31 @@
{{template "header.html" .S}}
<ul class="pager">
{{if .Prev}}
<li class="previous">
<a href="{{.Prev}}">&larr; Prev</a>
</li>
{{end}}
{{if .Next}}
<li class="next">
<a href="{{.Next}}">Next &rarr;</a>
</li>
{{end}}
</ul>
{{.Txt}}
<ul class="pager">
{{if .Prev}}
<li class="previous">
<a href="{{.Prev}}">&larr; Prev</a>
</li>
{{end}}
{{if .Next}}
<li class="next">
<a href="{{.Next}}">Next &rarr;</a>
</li>
{{end}}
</ul>
{{template "footer.html"}}