diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index bc06eba..39f02bc 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -2,6 +2,7 @@
==============
* Add unique constraint to slug field
+* Relocated partial templates to 'includes' directories.
* Search box on every page
* Sorting
diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt
index 4b47b16..c4ee3dd 100644
--- a/CONTRIBUTORS.txt
+++ b/CONTRIBUTORS.txt
@@ -8,5 +8,8 @@ Contributors
Andrii Kurinny
James Punteney
Jonas Obrist
-Taavi Taijala
+Nolan Bruabker
Preston Holmes
+Taavi Taijala
+
+
diff --git a/templates/account/_account_bar.html b/templates/account/_account_bar.html
deleted file mode 100644
index e69de29..0000000
diff --git a/templates/account/_trouble_ticket.html b/templates/account/includes/_trouble_ticket.html
similarity index 100%
rename from templates/account/_trouble_ticket.html
rename to templates/account/includes/_trouble_ticket.html
diff --git a/templates/account/login.html b/templates/account/login.html
index 41d972d..ab3fbc3 100644
--- a/templates/account/login.html
+++ b/templates/account/login.html
@@ -41,11 +41,11 @@
{% trans "Log In" %}
- {% include "account/_trouble_ticket.html" %}
+ {% include "account/includes/_trouble_ticket.html" %}
{% endblock %}
{% block extra_body %}
-{% endblock %}
\ No newline at end of file
+{% endblock %}
diff --git a/templates/account/password_reset.html b/templates/account/password_reset.html
index a279aeb..6bef3ff 100644
--- a/templates/account/password_reset.html
+++ b/templates/account/password_reset.html
@@ -25,11 +25,11 @@ {% trans "Password Reset" %}
- {% include "account/_trouble_ticket.html" %}
+ {% include "account/includes/_trouble_ticket.html" %}
{% endblock %}
{% block extra_body %}
-{% endblock %}
\ No newline at end of file
+{% endblock %}
diff --git a/templates/account/signup.html b/templates/account/signup.html
index 9011af8..b38eb43 100644
--- a/templates/account/signup.html
+++ b/templates/account/signup.html
@@ -30,7 +30,7 @@ {% trans "Sign Up" %}
{% url privacy as privacy_url %}
{% blocktrans %}By clicking "Sign Up", you are indicating that you have read and agree to the Terms of Use.{% endblocktrans %}
- {% include "account/_trouble_ticket.html" %}
+ {% include "account/includes/_trouble_ticket.html" %}
{% endif %}
{% endblock %}
@@ -47,4 +47,4 @@ {% trans "Sign Up" %}
});
{% endblock %}
-{% endcomment %}
\ No newline at end of file
+{% endcomment %}
diff --git a/templates/package/_package_row.html b/templates/package/_package_row.html
deleted file mode 100644
index 8d19ad8..0000000
--- a/templates/package/_package_row.html
+++ /dev/null
@@ -1,17 +0,0 @@
-{% load cache %}
-{% load package_tags %}
-
- {{ package.usage_count }} |
- {% if package.pk in used_packages_list %}
- {% usage_button %}
- |
- {{ package.pypi_downloads }} |
- {{ package.title }} |
- {% cache 500 commitchart package %}
-  |
- {% endcache %}
- {{ package.pypi_version.number|default:"n/a"|slice:":12" }} |
- {{ package.repo_watchers|default:"n/a" }} |
- {{ package.repo_forks|default:"n/a" }} |
- {{ package.created|timesince }} ago |
-
\ No newline at end of file
diff --git a/templates/package/ajax_package_list.html b/templates/package/ajax_package_list.html
index 8d8529c..a33540d 100644
--- a/templates/package/ajax_package_list.html
+++ b/templates/package/ajax_package_list.html
@@ -4,7 +4,7 @@ {% if packages.count %}Packages{% else %}No packages found{% endif %}
Click a package to add it to the grid.
{% endif %}
{% for package in packages %}
- {% include "package/_package.html" %}
+ {% include "package/includes/_package.html" %}
{% endfor %}
-
\ No newline at end of file
+
diff --git a/templates/package/_attach_grid.html b/templates/package/includes/_attach_grid.html
similarity index 100%
rename from templates/package/_attach_grid.html
rename to templates/package/includes/_attach_grid.html
diff --git a/templates/package/_package.html b/templates/package/includes/_package.html
similarity index 100%
rename from templates/package/_package.html
rename to templates/package/includes/_package.html
diff --git a/templates/package/_package_form.js b/templates/package/includes/_package_form.js
similarity index 100%
rename from templates/package/_package_form.js
rename to templates/package/includes/_package_form.js
diff --git a/templates/package/package.html b/templates/package/package.html
index b4f4025..ddf61de 100644
--- a/templates/package/package.html
+++ b/templates/package/package.html
@@ -108,14 +108,14 @@ Comparison Grids
{% if forloop.last %}
{% endif %}
{% empty %}
Find a grid to join!
- {% include "package/_attach_grid.html" %}
+ {% include "package/includes/_attach_grid.html" %}
{% endfor %}
diff --git a/templates/package/package_archive.html b/templates/package/package_archive.html
index f62d0da..364edb2 100644
--- a/templates/package/package_archive.html
+++ b/templates/package/package_archive.html
@@ -12,7 +12,7 @@ Latest 15 packages added
{% for package in latest %}
- {% include "package/_package.html"%}
+ {% include "package/includes/_package.html"%}
{% endfor %}
diff --git a/templates/package/package_form.html b/templates/package/package_form.html
index 8345c0e..c6b0912 100644
--- a/templates/package/package_form.html
+++ b/templates/package/package_form.html
@@ -30,7 +30,7 @@ home / packages
diff --git a/templates/searchv1/search.html b/templates/searchv1/search.html
index 10c64eb..8ffca41 100644
--- a/templates/searchv1/search.html
+++ b/templates/searchv1/search.html
@@ -36,7 +36,7 @@ {% if packages.count %}Packages{% else %}No packages found{% endif %}
latest all
{% for package in packages %}
- {% include "package/_package.html"%}
+ {% include "package/includes/_package.html"%}
{% endfor %}