-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
539e67e
commit 36743af
Showing
21 changed files
with
104 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
title: Blog | ||
visible: true | ||
template: blog | ||
--- | ||
|
||
|
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
1 change: 1 addition & 0 deletions
1
_demo/pages/02.github/external.md → _demo/pages/03.github/external.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
--- | ||
title: Github | ||
visible: true | ||
external_url: 'https://github.com/robbinfellow/haywire-grav' | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"/js/app.js": "/js/app.js?id=0329616e212602344904", | ||
"/css/app.css": "/css/app.css?id=beadfbce7d412c481f88" | ||
"/css/app.css": "/css/app.css?id=8be749afe4db420d4367" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
|
||
.is-rounded | ||
.is-rounded | ||
border-radius: 50% | ||
overflow: hidden |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,41 @@ | ||
{% extends 'partials/base.html.twig' %} | ||
|
||
{% block content %} | ||
<div class="container"> | ||
<div class="columns"> | ||
<div class="column is-8 is-offset-2"> | ||
|
||
<div class="columns"> | ||
<div class="column content"> | ||
{{ page.content }} | ||
</div> | ||
</div> | ||
<div class="container"> | ||
<div class="columns"> | ||
<div class="column is-8 is-offset-2"> | ||
|
||
<div class="content"> | ||
{{ page.content }} | ||
</div> | ||
|
||
<hr> | ||
<hr> | ||
|
||
<div class="columns is-multiline"> | ||
{% for post in page.find('/blog').children.order('date', 'desc').slice(0, 3) %} | ||
<div class="column is-12"> | ||
<strong class="title is-5"> | ||
<a href="{{ base_url }}{{ post.route }}"> | ||
{{ post.title }} | ||
</a> | ||
</strong> | ||
<div class="summary"> | ||
{% for post in page.find('/blog').children.order('date', 'desc').slice(0, 3) %} | ||
<div class="box"> | ||
<article class="media"> | ||
<div class="media-left"> | ||
<figure class="image is-96x96"> | ||
<img src="{{ post.url }}/{{ post.header.featured_image }}" alt="Image"> | ||
</figure> | ||
</div> | ||
<div class="media-content"> | ||
<div class="content"> | ||
<strong class="title is-size-5"> | ||
<a href="{{ base_url }}{{ post.route }}"> | ||
{{ post.title }} | ||
</a> | ||
</strong> | ||
{% if post.summary %} | ||
{{ post.summary(320) }} | ||
{% else %} | ||
<em>This post has no summary!</em> | ||
{{ post.summary(180) }} | ||
{% endif %} | ||
</div> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
|
||
</article> | ||
</div> | ||
{% endfor %} | ||
|
||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,13 @@ | ||
{% extends 'partials/base.html.twig' %} | ||
|
||
{% block content %} | ||
|
||
<div class="container"> | ||
<div class="columns"> | ||
<div class="column is-8 is-offset-2"> | ||
|
||
<div class="columns"> | ||
<div class="column content"> | ||
{{ page.content }} | ||
</div> | ||
<div class="content"> | ||
{{ page.content }} | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{% extends 'partials/base.html.twig' %} | ||
|
||
{% block content %} | ||
<div class="container"> | ||
<article class="message is-danger"> | ||
<div class="message-body"> | ||
<strong>{{ 'ERROR'|t }} {{ page.header.http_response_code }}</strong> | ||
{{ page.content }} | ||
</div> | ||
</article> | ||
<div class="container"> | ||
<div class="notification is-danger"> | ||
<strong> | ||
{{ 'ERROR'|t }} {{ page.header.http_response_code }} | ||
</strong> | ||
{{ page.content }} | ||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,41 @@ | ||
{% extends 'partials/base.html.twig' %} | ||
|
||
{% block content %} | ||
<div class="container"> | ||
<div class="columns"> | ||
<div class="column is-8 is-offset-2"> | ||
|
||
<div class="columns"> | ||
<div class="column content"> | ||
{{ page.content }} | ||
</div> | ||
</div> | ||
<div class="container"> | ||
<div class="columns"> | ||
<div class="column is-8 is-offset-2"> | ||
|
||
<div class="content"> | ||
{{ page.content }} | ||
</div> | ||
|
||
<hr> | ||
<hr> | ||
|
||
<div class="columns is-multiline"> | ||
{% for post in page.find('/blog').children.order('date', 'desc').slice(0, 3) %} | ||
<div class="column is-12"> | ||
<strong class="title is-5"> | ||
<a href="{{ base_url }}{{ post.route }}"> | ||
{{ post.title }} | ||
</a> | ||
</strong> | ||
<div class="summary"> | ||
{% for post in page.find('/blog').children.order('date', 'desc').slice(0, 3) %} | ||
<div class="box"> | ||
<article class="media"> | ||
<div class="media-left"> | ||
<figure class="image is-96x96"> | ||
<img src="{{ post.url }}/{{ post.header.featured_image }}" alt="Image"> | ||
</figure> | ||
</div> | ||
<div class="media-content"> | ||
<div class="content"> | ||
<strong class="title is-size-5"> | ||
<a href="{{ base_url }}{{ post.route }}"> | ||
{{ post.title }} | ||
</a> | ||
</strong> | ||
{% if post.summary %} | ||
{{ post.summary(320) }} | ||
{% else %} | ||
<em>This post has no summary!</em> | ||
{{ post.summary(180) }} | ||
{% endif %} | ||
</div> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
|
||
</article> | ||
</div> | ||
{% endfor %} | ||
|
||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,29 @@ | ||
{% extends 'partials/base.html.twig' %} | ||
|
||
{% block content %} | ||
<div class="columns"> | ||
<div class="column is-8 is-offset-2"> | ||
|
||
<div class="columns"> | ||
<div class="column is-8 is-offset-2"> | ||
|
||
<div class="columns is-multiline post"> | ||
<div class="column is-2 is-4-mobile"> | ||
<img class="image is-rounded" src="{{ page.url }}/{{ page.header.featured_image }}"> | ||
</div> | ||
|
||
<div class="column is-12"> | ||
<h1 class="title"> | ||
{{ page.title }} | ||
</h1> | ||
<div class="content"> | ||
{{ page.content }} | ||
<small class="is-size-7">Published {{ page.header.publish_date }}</small> | ||
</div> | ||
<div class="columns is-centered is-multiline"> | ||
<div class="column is-12"> | ||
<figure class="image is-128x128 is-rounded" style="margin: 0 auto;"> | ||
<img src="{{ page.url }}/{{ page.header.featured_image }}" alt="Image"> | ||
</figure> | ||
</div> | ||
<div class="column is-6 has-text-centered"> | ||
<h1 class="title" style="margin-bottom: 10px;"> | ||
{{ page.title }} | ||
</h1> | ||
<small class="is-size-7">Published {{ page.header.publish_date }}</small> | ||
</div> | ||
<div class="column is-10"> | ||
<hr> | ||
<div class="content"> | ||
{{ page.content }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters