Skip to content

Commit

Permalink
Deploy 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
robbinjohansson committed Mar 1, 2018
1 parent 0b30239 commit badc6e1
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 31 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# v0.4.0
## TBD
## 03/01/2018

1. [](#new)
* Add favicon
Expand Down
2 changes: 1 addition & 1 deletion blueprints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ author:
email: robbinfellow@gmail.com
url: https://github.com/robbinfellow/
homepage: https://github.com/robbinfellow/haywire-grav#readme
keywords: haywire, boilerplate, starter-theme, vuejs, laravel-mix, bulma
keywords: haywire, grav, boilerplate, starter-theme, vuejs, laravel-mix, bulma
bugs: https://github.com/robbinfellow/haywire-grav/issues
docs: https://github.com/robbinfellow/haywire-grav#readme
license: MIT
Expand Down
1 change: 1 addition & 0 deletions resources/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import "babel-polyfill";

// Load all of this project's JavaScript dependencies including Vue
require('./bootstrap');

window.Vue = require('vue');

/**
Expand Down
16 changes: 10 additions & 6 deletions templates/blog.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,23 @@
<strong class="title is-size-5">
{{ post.title }}
</strong>
{{ post.header.intro|truncate(120)|markdown }}
{% if post.header.intro %}
{{ post.header.intro|truncate(120)|markdown }}
{% else %}
{{ post.summary(120) }}
{% endif %}
<small>
{{ post.header.publish_date|nicetime() }}
</small>
</div>
</div>

{% if post.header.featured_image %}
<div class="media-right">
<figure class="image">
<img src="{{ post.url }}/{{ post.header.featured_image }}?cropResize=160,120" alt="{{ post.title }}">
</figure>
</div>
<div class="media-right">
<figure class="image">
<img src="{{ post.url }}/{{ post.header.featured_image }}?cropResize=160,120" alt="{{ post.title }}">
</figure>
</div>
{% endif %}

</article>
Expand Down
46 changes: 23 additions & 23 deletions templates/item.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,33 @@
<div class="columns is-centered">
<div class="column is-7">

<div class="content">
<h1>
{{ page.title }}
</h1>

{% if page.header.intro %}
<div class="is-size-5">
{{ page.header.intro|markdown }}
<div class="content">
<h1>
{{ page.title }}
</h1>

{% if page.header.intro %}
<div class="is-size-5">
{{ page.header.intro|markdown }}
</div>
{% endif %}

{% if page.header.featured_image %}
<figure class="image is-4by3" style="margin-left: 0; margin-right: 0;">
<img src="{{ page.url }}/{{ page.header.featured_image }}?cropResize=768,576" alt="{{ page.title }}">
</figure>
{% endif %}

{{ page.content }}
</div>
{% endif %}

{% if page.header.featured_image %}
<figure class="image is-4by3" style="margin-left: 0; margin-right: 0;">
<img src="{{ page.url }}/{{ page.header.featured_image }}?cropResize=768,576" alt="{{ page.title }}">
</figure>
{% endif %}

{{ page.content }}
</div>

{% if page.header.taxonomy.tag %}
<div class="tags">
{% for tag in page.header.taxonomy.tag %}
<span class="tag">
{{ tag }}
</span>
{% endfor %}
{% for tag in page.header.taxonomy.tag %}
<span class="tag">
{{ tag }}
</span>
{% endfor %}
</div>
{% endif %}

Expand Down

0 comments on commit badc6e1

Please sign in to comment.