Skip to content

Commit 5ca6e82

Browse files
committed
Add shutter logo
Close #4
1 parent 256c5a8 commit 5ca6e82

File tree

3 files changed

+3964
-0
lines changed

3 files changed

+3964
-0
lines changed

_config.yml

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ defaults:
1111
type: "pages"
1212
values:
1313
show_sidebar: true
14+
hero_image: /assets/img/shutter.svg
1415
-
1516
scope:
1617
path: ""

_includes/hero.html

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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>

0 commit comments

Comments
 (0)