Skip to content

Commit

Permalink
Add content regions to cornerstone
Browse files Browse the repository at this point in the history
  • Loading branch information
Tolu Abayomi committed Jun 28, 2017
1 parent 5751df1 commit c5a6eee
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions templates/components/common/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@
<h1 class="header-logo header-logo--{{theme_settings.logo-position}}">
{{> components/common/store-logo}}
</h1>

{{{region name="homepage_banner"}}}
{{else}}
<div class="header-logo header-logo--{{theme_settings.logo-position}}">
{{> components/common/store-logo}}
</div>
{{/if}}



<div class="navPages-container" id="menu" data-menu>
{{> components/common/navigation-menu}}
</div>
Expand Down
1 change: 1 addition & 0 deletions templates/components/products/product-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ <h2 class="productView-brand"{{#if schema}} itemprop="brand" itemscope itemtype=
{{> components/common/login-for-pricing}}
{{/or}}
</div>
{{{region name="product_below_price"}}}
<div class="productView-rating"{{#if schema}} itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating"{{/if}}>
{{#if settings.show_product_rating}}
{{#if product.num_reviews '>' 0}}
Expand Down
4 changes: 4 additions & 0 deletions templates/pages/cart.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{{#partial "header"}}
{{{region name="header_bottom"}}}
{{/partial}}

{{#partial "page"}}
<div class="page">

Expand Down

0 comments on commit c5a6eee

Please sign in to comment.