Skip to content

Commit

Permalink
Merge branch 'release/1.0.12'
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Jan 25, 2018
2 parents 58cf11e + 4a9c9a8 commit 338759b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# nystudio107/craft Change Log

## 1.0.11 - 2018.01.23
## 1.0.12 - 2018.01.25
### Changed
* Switched from `craft.app.config.general.custom.baseUrl` to `alias('@baseUrl')`

## 1.0.11 - 2018.01.23
### Added
* Added `post-install-cmd` to `composer.json`

## 1.0.10 - 2018.01.18
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nystudio107/craft",
"description": "nystudio107 Craft 3 CMS scaffolding project",
"version": "1.0.11",
"version": "1.0.12",
"keywords": [
"craft",
"cms",
Expand All @@ -20,7 +20,7 @@
"minimum-stability": "RC",
"require": {
"php": ">=7.0.0",
"craftcms/cms": "^3.0.0-RC1",
"craftcms/cms": "^3.0.0-RC7",
"vlucas/phpdotenv": "^2.4.0",
"roave/security-advisories": "dev-master",
"yiisoft/yii2-redis": "^2.0.6",
Expand Down
2 changes: 1 addition & 1 deletion templates/_layouts/_amp_layout.twig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{# @var craft \craft\web\twig\variables\CraftVariable #}
{% minify %}
{% set baseUrl = craft.app.config.general.custom.baseUrl %}
{% set baseUrl = alias('@baseUrl') ~ '/' %}
{% set staticAssetsVersion = craft.app.config.general.custom.staticAssetsVersion %}
{% header "Link: <#{baseUrl}>; rel=dns-prefetch;,<#{baseUrl}>; rel=preconnect; crossorigin;" %}
<!DOCTYPE html>
Expand Down
2 changes: 1 addition & 1 deletion templates/_layouts/_layout.twig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{# @var craft \craft\web\twig\variables\CraftVariable #}
{%- minify -%}
{% set baseUrl = craft.app.config.general.custom.baseUrl %}
{% set baseUrl = alias('@baseUrl') ~ '/' %}
{% set staticAssetsVersion = craft.app.config.general.custom.staticAssetsVersion %}
{% header "Link: <#{baseUrl}>; rel=dns-prefetch;,<#{baseUrl}>; rel=preconnect; crossorigin;" %}
<!DOCTYPE html>
Expand Down
2 changes: 1 addition & 1 deletion templates/sw.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set baseUrl = craft.app.config.general.custom.baseUrl %}
{% set baseUrl = alias('@baseUrl') ~ '/' %}
{% set staticAssetsVersion = craft.app.config.general.custom.staticAssetsVersion %}
{% minify js %}
// borrowed mightily from Fillament Group - https://www.filamentgroup.com/lab/modernizing-delivery.html
Expand Down

0 comments on commit 338759b

Please sign in to comment.