Skip to content

Commit

Permalink
Fixed missing button in banner
Browse files Browse the repository at this point in the history
  • Loading branch information
tranduyhung committed Dec 27, 2017
1 parent ab7cfa3 commit 9254d80
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v1.0.2
## 27/12/2017

1. [](#bugfix)
* Fixed missing button in banner

# v1.0.1
## 26/12/2017

Expand Down
2 changes: 1 addition & 1 deletion blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Mache
description: "Grav Theme based on Mache HTML theme by freetemplates.pro, original PSD design by symu.co."
version: 1.0.1
version: 1.0.2
icon: empire
author:
name: Hung Tran
Expand Down
4 changes: 2 additions & 2 deletions templates/modular/banner.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<h1 class="os-animation" data-os-animation="zoomIn" data-os-animation-delay="0.2s">{{ page.header.heading }}</h1>
<span class="line os-animation" data-os-animation="zoomIn" data-os-animation-delay="0.3s"></span>
<div class="os-animation" data-os-animation="zoomIn" data-os-animation-delay="0.4s">{{ content }}</div>
{% if button_url %}
<a href="{{ button_url }}" class="os-animation" data-os-animation="zoomIn" data-os-animation-delay="0.5s">{{ button_label }}</a>
{% if page.header.button_url %}
<a href="{{ page.header.button_url }}" class="os-animation" data-os-animation="zoomIn" data-os-animation-delay="0.5s">{{ page.header.button_label }}</a>
{% endif %}
</div>
</div>
Expand Down

0 comments on commit 9254d80

Please sign in to comment.