Refactor pages.

This commit is contained in:
Lars Jung 2015-05-13 16:13:21 +02:00
parent f19d9b9419
commit ae677a2194
6 changed files with 40 additions and 53 deletions

View file

@ -0,0 +1,20 @@
extends ./page.tpl.jade
block init
- var TITLE = pkg.name + ' info page - v' + pkg.version
- var MODULE = 'info'
block body
div#content
h1#header
a( href="#{pkg.homepage}" ) #{pkg.name}
div#support
| Show your support with a donation!
div.paypal
form( action="https://www.paypal.com/cgi-bin/webscr", method="post", target="_top" )
input( type="hidden", name="cmd", value="_s-xclick" )
input( type="hidden", name="hosted_button_id", value="8WSPKWT7YBTSQ" )
input( type="image", src!="#{PUBLIC_HREF}images/ui/paypal.svg", width="100px", border="0", name="submit", alt="PayPal - The safer, easier way to pay online!" )