File tree 3 files changed +3964
-0
lines changed
3 files changed +3964
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ defaults:
11
11
type : " pages"
12
12
values :
13
13
show_sidebar : true
14
+ hero_image : /assets/img/shutter.svg
14
15
-
15
16
scope :
16
17
path : " "
Original file line number Diff line number Diff line change
1
+ <!-- change from upstream bulma theme: how hero_image is displayed -->
2
+
3
+ < section class ="hero {% if page.hero_height %} {{ page.hero_height }} {% else %} is-medium {% endif %} is-bold is-primary " {% if page.hero_image %} style ="background: url('{{ page.hero_image }}') no-repeat center center; background-size: contain; background-color: #188cac; " {% endif %} >
4
+ < div class ="hero-body {% if page.hero_darken %} hero-darken {% endif %} ">
5
+ < div class ="container ">
6
+ < h1 class ="title is-2 "> {{ page.title }}</ h1 >
7
+ < p class ="subtitle is-3 "> {{ page.subtitle }}</ p >
8
+ {% if page.hero_link %}
9
+ < a href ="{{ page.hero_link | absolute_url }} " class ="button is-info is-large "> {{ page.hero_link_text }}</ a >
10
+ {% endif %}
11
+ </ div >
12
+ </ div >
13
+ </ section >
You can’t perform that action at this time.
0 commit comments