From fbbe3276e77c1cdf393ce61cf040d0498050e630 Mon Sep 17 00:00:00 2001
From: Oliver Davies
Date: Thu, 1 Sep 2016 01:04:50 +0100
Subject: [PATCH] Organise partials
---
.../{post-header.html.twig => post/header.html.twig} | 0
.../{latest-posts.html.twig => posts/latest.html.twig} | 0
source/_partials/sidebar.html.twig | 2 +-
source/_partials/speakerdeck.html.twig | 1 -
.../listing-item.html.twig} | 0
source/_partials/tweet.twig | 5 -----
source/_views/post.html.twig | 2 +-
source/talks.html.twig | 4 ++--
8 files changed, 4 insertions(+), 10 deletions(-)
rename source/_partials/{post-header.html.twig => post/header.html.twig} (100%)
rename source/_partials/{latest-posts.html.twig => posts/latest.html.twig} (100%)
delete mode 100644 source/_partials/speakerdeck.html.twig
rename source/_partials/{talk-listing-item.html.twig => talks/listing-item.html.twig} (100%)
delete mode 100644 source/_partials/tweet.twig
diff --git a/source/_partials/post-header.html.twig b/source/_partials/post/header.html.twig
similarity index 100%
rename from source/_partials/post-header.html.twig
rename to source/_partials/post/header.html.twig
diff --git a/source/_partials/latest-posts.html.twig b/source/_partials/posts/latest.html.twig
similarity index 100%
rename from source/_partials/latest-posts.html.twig
rename to source/_partials/posts/latest.html.twig
diff --git a/source/_partials/sidebar.html.twig b/source/_partials/sidebar.html.twig
index 74ca6f9c..3e18d9b2 100644
--- a/source/_partials/sidebar.html.twig
+++ b/source/_partials/sidebar.html.twig
@@ -14,7 +14,7 @@
{% include('availability') %}
{% if page.url == '/.' %}
- {% include ('latest-posts') %}
+ {% include ('posts/latest') %}
{% endif %}
{% endblock %}
diff --git a/source/_partials/speakerdeck.html.twig b/source/_partials/speakerdeck.html.twig
deleted file mode 100644
index 9fd51d7d..00000000
--- a/source/_partials/speakerdeck.html.twig
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/source/_partials/talk-listing-item.html.twig b/source/_partials/talks/listing-item.html.twig
similarity index 100%
rename from source/_partials/talk-listing-item.html.twig
rename to source/_partials/talks/listing-item.html.twig
diff --git a/source/_partials/tweet.twig b/source/_partials/tweet.twig
deleted file mode 100644
index a6fd2b0d..00000000
--- a/source/_partials/tweet.twig
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
diff --git a/source/_views/post.html.twig b/source/_views/post.html.twig
index d1762642..9b7b66a3 100644
--- a/source/_views/post.html.twig
+++ b/source/_views/post.html.twig
@@ -1,7 +1,7 @@
{% extends 'default' %}
{% block content_wrapper %}
- {% include('post-header') %}
+ {% include('post/header') %}
{% block content %}{% endblock %}
diff --git a/source/talks.html.twig b/source/talks.html.twig
index 5e04f78e..c8deedd2 100644
--- a/source/talks.html.twig
+++ b/source/talks.html.twig
@@ -31,7 +31,7 @@ use:
{% endif %}
- {{ include('talk-listing-item') }}
+ {{ include('talks/listing-item') }}
{% endfor %}
{% if found %}
@@ -56,7 +56,7 @@ use:
{% endif %}
- {{ include('talk-listing-item') }}
+ {{ include('talks/listing-item') }}
{% endfor %}
{% if found %}