1
0
mirror of https://github.com/lrsjng/h5ai.git synced 2025-08-10 16:04:11 +02:00

Clean jade markup.

This commit is contained in:
Lars Jung
2015-05-14 13:41:13 +02:00
parent fe5723f75d
commit 9090c28f04
2 changed files with 20 additions and 25 deletions

View File

@@ -9,12 +9,12 @@ block body
div#content
h1#header
a( href="#{pkg.homepage}" ) #{pkg.name}
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="_blank" )
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", name="submit", alt="PayPal" )
form(action='https://www.paypal.com/cgi-bin/webscr', method='post', target='_blank')
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', name='submit', alt='PayPal')

View File

@@ -4,32 +4,27 @@ block init
<?php header('Content-type: text/html;charset=utf-8'); ?>
doctype html
<!--[if lt IE 10]><html class="no-js no-browser" lang="en"><![endif]-->
<!--[if gt IE 9]><!--><html class="no-js browser" lang="en"><!--<![endif]-->
<!--[if lt IE 10]><html class='no-js no-browser' lang='en'><![endif]-->
<!--[if gt IE 9]><!--><html class='no-js browser' lang='en'><!--<![endif]-->
head
meta( charset="utf-8" )
meta( http-equiv="x-ua-compatible", content="ie=edge" )
meta(charset='utf-8')
meta(http-equiv='x-ua-compatible', content='ie=edge')
title #{title}
meta( name="description", content="#{title}" )
meta( name="viewport", content="width=device-width, initial-scale=1" )
link( rel="shortcut icon", href!="#{public_href}images/favicon/favicon-16-32.ico" )
link( rel="apple-touch-icon-precomposed", type="image/png", href!="#{public_href}images/favicon/favicon-152.png" )
link( rel="stylesheet", href="//fonts.googleapis.com/css?family=Roboto:300,400,700" )
link( rel="stylesheet", href!="#{public_href}css/styles.css" )
script( src!="#{public_href}js/scripts.js", data-module="#{module}" )
meta(name='description', content='#{title}')
meta(name='viewport', content='width=device-width, initial-scale=1')
link(rel='shortcut icon', href!='#{public_href}images/favicon/favicon-16-32.ico')
link(rel='apple-touch-icon-precomposed', type='image/png', href!='#{public_href}images/favicon/favicon-152.png')
link(rel='stylesheet', href='//fonts.googleapis.com/css?family=Roboto:300,400,700')
link(rel='stylesheet', href!='#{public_href}css/styles.css')
script(src!='#{public_href}js/scripts.js', data-module='#{module}')
body#root( class="#{module}" )
body#root(class='#{module}')
div#fallback-hints
span.noJsMsg
| Works best with JavaScript enabled!
span.noBrowserMsg
| Works best in
a( href="http://browsehappy.com" ) modern browsers
| !
span.backlink
a( href="#{pkg.homepage}", title="#{pkg.name} v#{pkg.version} - #{pkg.description}" ) powered by #{pkg.name}
span.noJsMsg Works best with JavaScript enabled!
span.noBrowserMsg Works best in #[a(href='http://browsehappy.com') modern browsers]!
span.backlink #[a(href='#{pkg.homepage}', title='#{pkg.name} v#{pkg.version} - #{pkg.description}') powered by #{pkg.name}]
block body