From 1588937212dbcad5a77e87247b0bb2a2bdf36c1a Mon Sep 17 00:00:00 2001 From: Adrian Moreno Date: Tue, 14 Jun 2016 15:45:03 +0200 Subject: [PATCH] Creates tags and categories partials and fixes more blog stuff --- layouts/_default/list.html | 82 ++----------------------------- layouts/_default/single.html | 82 ++----------------------------- layouts/partials/breadcrumbs.html | 12 +---- layouts/partials/categories.html | 19 +++++++ layouts/partials/nav.html | 2 - layouts/partials/tags.html | 26 ++++++++++ 6 files changed, 53 insertions(+), 170 deletions(-) create mode 100644 layouts/partials/categories.html create mode 100644 layouts/partials/tags.html diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 0536c4228..b94a4aa90 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -74,87 +74,11 @@

{{ .Title }}

- - - - - - - - + {{ partial "tags.html" }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index ff2c4d90f..bbc70d750 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -20,8 +20,7 @@
- +
@@ -50,85 +49,10 @@
- - - - - - - + {{ partial "tags.html" }} diff --git a/layouts/partials/breadcrumbs.html b/layouts/partials/breadcrumbs.html index 22a6d3515..5418d36ee 100644 --- a/layouts/partials/breadcrumbs.html +++ b/layouts/partials/breadcrumbs.html @@ -1,16 +1,8 @@
-
-

Blog listing: Medium

-
-
- - +
+

{{ .Title }}

diff --git a/layouts/partials/categories.html b/layouts/partials/categories.html new file mode 100644 index 000000000..3a7664a53 --- /dev/null +++ b/layouts/partials/categories.html @@ -0,0 +1,19 @@ + diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index a3b5f6989..bf8e01696 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -29,8 +29,6 @@
- -