Re-added some blocks
This commit is contained in:
parent
7b0f15bfe8
commit
9f537eb676
|
@ -8,10 +8,11 @@ pagination:
|
||||||
use:
|
use:
|
||||||
- posts
|
- posts
|
||||||
---
|
---
|
||||||
<h1>Blog</h1>
|
{% block content %}
|
||||||
|
<h1>Blog</h1>
|
||||||
|
|
||||||
<ul class="posts">
|
<ul class="posts">
|
||||||
{% for post in page.pagination.items %}
|
{% for post in page.pagination.items %}
|
||||||
<li class="post">
|
<li class="post">
|
||||||
{% include 'post_header' with { page: post, title_tag: 'h2' } %}
|
{% include 'post_header' with { page: post, title_tag: 'h2' } %}
|
||||||
|
|
||||||
|
@ -23,10 +24,10 @@ use:
|
||||||
|
|
||||||
<a href="{{ post.url }}">Read more →</a>
|
<a href="{{ post.url }}">Read more →</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
{% if page.pagination.previous_page or page.pagination.next_page %}
|
{% if page.pagination.previous_page or page.pagination.next_page %}
|
||||||
<nav>
|
<nav>
|
||||||
{% if page.pagination.previous_page %}
|
{% if page.pagination.previous_page %}
|
||||||
<a href="{{ site.url }}{{ page.pagination.previous_page.url }}">Newer Items</a>
|
<a href="{{ site.url }}{{ page.pagination.previous_page.url }}">Newer Items</a>
|
||||||
|
@ -35,4 +36,7 @@ use:
|
||||||
<a href="{{ site.url }}{{ page.pagination.next_page.url }}">Older Items</a>
|
<a href="{{ site.url }}{{ page.pagination.next_page.url }}">Older Items</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</nav>
|
</nav>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block body_classes 'page--blog page--blog__list' %}
|
||||||
|
|
|
@ -79,11 +79,12 @@ testimonials:
|
||||||
<p>Everything we have thrown at Oliver, he has approached with an open and flexible mind that has allowed him
|
<p>Everything we have thrown at Oliver, he has approached with an open and flexible mind that has allowed him
|
||||||
to work on a wide range of projects and features for Drupal products.</p>
|
to work on a wide range of projects and features for Drupal products.</p>
|
||||||
---
|
---
|
||||||
<h1>Testimonials</h1>
|
{% block content %}
|
||||||
<p>Here are some examples of the nice things that clients and former colleagues have said.</p>
|
<h1>Testimonials</h1>
|
||||||
<p>You can view more recommendations on my <a href="{{ site.linkedin.url }}">LinkedIn profile</a>.</p>
|
<p>Here are some examples of the nice things that clients and former colleagues have said.</p>
|
||||||
|
<p>You can view more recommendations on my <a href="{{ site.linkedin.url }}">LinkedIn profile</a>.</p>
|
||||||
|
|
||||||
{% for testimonial in page.testimonials|reverse|slice(0,5) %}
|
{% for testimonial in page.testimonials|reverse|slice(0,5) %}
|
||||||
<article class="testimonial">
|
<article class="testimonial">
|
||||||
<h2 class="testimonial__name">{{ testimonial.name }}</h2>
|
<h2 class="testimonial__name">{{ testimonial.name }}</h2>
|
||||||
|
|
||||||
|
@ -102,4 +103,7 @@ testimonials:
|
||||||
|
|
||||||
{{ testimonial.text|raw }}
|
{{ testimonial.text|raw }}
|
||||||
</article>
|
</article>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block body_classes 'page--testimonials' %}
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
<link rel="icon" href="{{ site.gravatar.url }}?s={{ size }}" sizes="{{ size }}x{{ size }}">
|
<link rel="icon" href="{{ site.gravatar.url }}?s={{ size }}" sizes="{{ size }}x{{ size }}">
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body{% if page.blocks.body_classes %} class="{{ page.blocks.body_classes }}"{% endif %}>
|
||||||
<nav class="navbar navbar-inverse navbar-fixed-top">
|
<nav class="navbar navbar-inverse navbar-fixed-top">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
|
|
Loading…
Reference in a new issue