Skip to content

Commit

Permalink
Merge pull request #1032 from sacr3dc0w/deprecated-template-properties
Browse files Browse the repository at this point in the history
Remove usage of deprecated {{template_file}} property
  • Loading branch information
PreciselyAlyss authored Jun 22, 2017
2 parents ad12b84 + 547b511 commit 2679711
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Maintenance page stylesheet fix [#1016](https://github.com/bigcommerce/cornerstone/pull/1016)
- Restore four products per row on category pages when sidebar is empty. [#1018](https://github.com/bigcommerce/cornerstone/pull/1018)
- Remove gift certificate format validation [#1026](https://github.com/bigcommerce/cornerstone/pull/1026)
- Remove usage of deprecated {{template_file}} property [#1032](https://github.com/bigcommerce/cornerstone/pull/1032)

## 1.8.1 (2017-05-05)
- Bug fix for category sidebar [#1006](https://github.com/bigcommerce/cornerstone/pull/1006)
Expand Down
2 changes: 1 addition & 1 deletion templates/components/common/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

{{> components/common/navigation}}

{{#if template_file '===' 'pages/home'}}
{{#if template '===' 'pages/home'}}
<h1 class="header-logo header-logo--{{theme_settings.logo-position}}">
{{> components/common/store-logo}}
</h1>
Expand Down
2 changes: 1 addition & 1 deletion templates/layout/amp-iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<script>
// Exported in app.js
window.stencilBootstrap("{{template_file}}", {{ jsContext }}, false).load();
window.stencilBootstrap("{{template}}", {{ jsContext }}, false).load();
</script>
<script type="text/javascript" charset="utf-8">
function postHeight() {
Expand Down
4 changes: 2 additions & 2 deletions templates/layout/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@
{{> components/common/header }}
{{> components/common/body }}
{{> components/common/footer }}

<script>window.__webpack_public_path__ = "{{cdn 'assets/dist/'}}";</script>
<script src="{{cdn 'assets/dist/theme-bundle.main.js'}}"></script>

<script>
// Exported in app.js
window.stencilBootstrap("{{template_file}}", {{jsContext}}).load();
window.stencilBootstrap("{{template}}", {{jsContext}}).load();
</script>

{{{footer.scripts}}}
Expand Down

0 comments on commit 2679711

Please sign in to comment.