Skip to content

Commit

Permalink
Fixing templates includes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny committed Aug 10, 2016
1 parent 99a38df commit ff215f4
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion layouts/404.html.twig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
{% include 'include/head.html' %}
{% include 'include/head.html.twig' %}
<body>
<section id="main">
<div>
Expand Down
4 changes: 2 additions & 2 deletions layouts/_default/list.html.twig
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
{% include 'include/head.html' %}
{% include 'include/head.html.twig' %}
<body>
{% include 'include/sidebar.html' %}
{% include 'include/sidebar.html.twig' %}
<div class="content container">
<div class="posts">
{% for post in site.pages|filterBySection(page.pathname)|sortByDate %}
Expand Down
4 changes: 2 additions & 2 deletions layouts/_default/page.html.twig
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
{% include 'include/head.html' %}
{% include 'include/head.html.twig' %}
<body>
{% include 'include/sidebar.html' %}
{% include 'include/sidebar.html.twig' %}
<div class="content container">
<h1 class="page-title">{{ page.title }}</h1>
{{ page.content }}
Expand Down
4 changes: 2 additions & 2 deletions layouts/_default/taxonomy.html.twig
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
{% include 'include/head.html' %}
{% include 'include/head.html.twig' %}
<body>
{% include 'include/sidebar.html' %}
{% include 'include/sidebar.html.twig' %}
<div class="content container">
<h1 class="page-title">{{ page.singular|title }} "{{ page.title }}"</h1>
<ul>
Expand Down
4 changes: 2 additions & 2 deletions layouts/_default/terms.html.twig
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
{% include 'include/head.html' %}
{% include 'include/head.html.twig' %}
<body>
{% include 'include/sidebar.html' %}
{% include 'include/sidebar.html.twig' %}
<div class="content container">
<h1>{{ page.plural }}</h1>
<ul>
Expand Down
4 changes: 2 additions & 2 deletions layouts/blog/page.html.twig
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
{% include 'include/head.html' %}
{% include 'include/head.html.twig' %}
<body>
{% include 'include/sidebar.html' %}
{% include 'include/sidebar.html.twig' %}
<div class="content container">
<h1 class="page-title">{{ page.title }}</h1>
{% if page.date %}
Expand Down
4 changes: 2 additions & 2 deletions layouts/index.html.twig
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
{% include 'include/head.html' %}
{% include 'include/head.html.twig' %}
<body>
{% include 'include/sidebar.html' %}
{% include 'include/sidebar.html.twig' %}
<div class="content container">
<div class="posts">
{% for post in site.pages|filterBySection('blog')|sortByDate|slice(0, 5) %}
Expand Down

0 comments on commit ff215f4

Please sign in to comment.