Skip to content

Commit 0bdbcf4

Browse files
committed
Merge branch 'release/1.5.0'
2 parents a237e42 + 20f4a19 commit 0bdbcf4

15 files changed

+33
-49
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
.sass-cache
2+
3+
.DS_Store

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# v1.5.0
2+
## 07/14/2016
3+
4+
1. [](#improved)
5+
* Remove unneeded streams from Theme YAML
6+
* Delete unused composer.json
7+
* Add the `theme_config` twig var
8+
1. [](#bugfix)
9+
* Fix missing fontawesome-webfont.woff2 file
10+
* Fix slider buttons on tablet
11+
* Fix setting the page language in the html tag
12+
113
# v1.4.0
214
## 01/06/2016
315

blueprints.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Deliver
2-
version: 1.4.0
2+
version: 1.5.0
33
description: "Deliver theme is a port of the Michael Reimer's Deliver Free PSD theme."
44
icon: newspaper-o
55
author:

composer.json

-28
This file was deleted.

css-compiled/template.css

+4-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css-compiled/template.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deliver.yaml

-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
11
enabled: true
22
dropdown:
33
enabled: false
4-
5-
streams:
6-
scheme:
7-
theme:
8-
type: ReadOnlyStream
9-
paths:
10-
- user/themes/deliver

fonts/fontawesome-webfont.woff2

65.1 KB
Binary file not shown.

scss/template/modular/_showcase.scss

+6-4
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,10 @@
8686
@extend .default-animation;
8787
position: absolute;
8888
display: block;
89-
width: 3.7rem;
90-
height: 3.7rem;
89+
padding-bottom: 0;
90+
padding-left: 0.8rem;
91+
padding-right: 0.8rem;
92+
padding-top: 0;
9193
cursor: pointer;
9294
z-index: 50;
9395
text-align: center;
@@ -98,7 +100,7 @@
98100
font-size: 2.5rem;
99101
opacity: 0.5;
100102
color: $black;
101-
@include breakpoint(mobile-only) {
103+
@include breakpoint(mobile-only) {
102104
font-size: 1.5rem;
103105
line-height: 2.8rem;
104106
}
@@ -116,7 +118,7 @@
116118
}
117119
}
118120
&:disabled {opacity: 0.1}
119-
@include breakpoint(mobile-only) {
121+
@include breakpoint(mobile-only) {
120122
width: 2.7rem;
121123
height: 2.7rem;
122124
}

templates/modular.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
{% endmacro %}
5252

5353

54-
{% if config.themes.deliver.dropdown.enabled %}
54+
{% if theme_config.dropdown.enabled %}
5555
{{ _self.loop(pages) }}
5656
{% else %}
5757
{% for page in pages.children %}

templates/modular/contact.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="g-grid pure-g-r">
33
<div id="listing" class="g-block pure-u-2-3">
44
{% if config.plugins.simple_form.enabled %}
5-
{% set simple_form_config = page.header.simple_form ?: config.themes.deliver.simple_form %}
5+
{% set simple_form_config = page.header.simple_form ?: theme_config.simple_form %}
66
{{ simple_form(simple_form_config) }}
77
{% endif %}
88
</div>

templates/modular_alt.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
{% endif %}
4747
{% endfor %}
4848
{% endmacro %}
49-
{% if config.themes.deliver.dropdown.enabled %}
49+
{% if theme_config.dropdown.enabled %}
5050
{{ _self.loop(pages) }}
5151
{% else %}
5252
{% for page in pages.children %}

templates/partials/base.html.twig

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
{% set theme_config = attribute(config.themes, config.system.pages.theme) %}
12
<!DOCTYPE html>
2-
<html lang="en">
3+
<html lang="{{ grav.language.getLanguage ?: 'en' }}">
34
<head>
45
{% block head %}
56
<meta charset="utf-8" />

templates/partials/navigation.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
{% endmacro %}
1919

2020
<ul class="navigation">
21-
{% if config.themes.deliver.dropdown.enabled %}
21+
{% if theme_config.dropdown.enabled %}
2222
{{ _self.loop(pages) }}
2323
{% else %}
2424
{% for page in pages.children %}

templates/partials/simplesearch_base.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html lang="en">
2+
<html lang="{{ grav.language.getLanguage ?: 'en' }}">
33
<head>
44
{% block head %}
55
<meta charset="utf-8" />

0 commit comments

Comments
 (0)