Skip to content
This repository has been archived by the owner on Apr 10, 2019. It is now read-only.

Commit

Permalink
page types, #138
Browse files Browse the repository at this point in the history
  • Loading branch information
giggio committed Oct 27, 2013
1 parent 32045a4 commit 949cfe0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/views/about.jade
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
append variables
- title += "Sobre o Ateliês"
- pageSchema = "http://schema.org/AboutPage"
extends baseBootstrap
append content
section#app-container
Expand Down
3 changes: 2 additions & 1 deletion app/views/layout.jade
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
block variables
- var title = "Ateliês - "
- var pageSchema = "http://schema.org/WebPage"
doctype 5
html
head
Expand All @@ -12,7 +13,7 @@ html
var staticPath = '!{STATIC_PATH}';
var clientLibPath = '!{CLIENT_LIB_PATH}'; //not used anywhere, but is here so we remember clientLibPath and staticPath are different
block head
body
body(itemscope, itemtype=pageSchema)
#overlay: #loading
block layout
block scriptsFooter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h3>R$ <span id="price" itemprop="price">{{product.price}}</span></h3>
<link itemprop="availability" href="http://schema.org/OutOfStock" />
{{/gt}}
{{else}}
<link itemprop="availability" href="http://schema.org/OutOfStock" />
<link itemprop="availability" href="http://schema.org/InStock" />
{{/if}}
</div>
<button class="btn btn-primary btn-large" id="purchaseItem" name="purchaseItem" {{#unless canPurchase}}disabled{{/unless}}><i class="icon-shopping-cart icon-white"></i> Adicionar ao carrinho</button>
Expand Down

0 comments on commit 949cfe0

Please sign in to comment.