From 19f0eb8357e005ad4b10bceba72e721a6e74635f Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Wed, 6 Oct 2021 17:00:34 -0500 Subject: [PATCH] Remove breadcrumb navigation and fix #17 --- assets/css/bobastyle.css | 25 ++++--------------------- layouts/_default/baseof.html | 4 ---- layouts/partials/breadcrumb.html | 13 ------------- 3 files changed, 4 insertions(+), 38 deletions(-) delete mode 100644 layouts/partials/breadcrumb.html diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index fabb1a8..8fc996c 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -24,6 +24,10 @@ padding-left: 10px; } +.tag { + white-space: nowrap; +} + .rss-link { padding-left: 5px; } @@ -114,27 +118,6 @@ hr { -/* Breadcrumb navigation */ -ul.breadcrumb { - padding 10px 16px; - list-style: none; -} - -ul.breadcrumb li { - display: inline; -} - -ul.breadcrumb li+li:before { - padding: 8px; - content: "/\00a0"; -} - -ul.breadcrumb li.active a { - color: inherit; -} - - - /* Pagination */ .pagination { list-style: none; diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 5289770..088b260 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -17,10 +17,6 @@ - {{ if .Site.Params.breadcrumbnav }} - {{ partial "breadcrumb.html" . }} - {{ end }} -
{{- block "main" . }} {{ .Content }} diff --git a/layouts/partials/breadcrumb.html b/layouts/partials/breadcrumb.html deleted file mode 100644 index 46d1aae..0000000 --- a/layouts/partials/breadcrumb.html +++ /dev/null @@ -1,13 +0,0 @@ - -{{ define "breadcrumbnav" }} -{{ if .p1.Parent }} -{{ template "breadcrumbnav" (dict "p1" .p1.Parent "p2" .p2 ) }} -{{ else if not .p1.IsHome }} -{{ template "breadcrumbnav" (dict "p1" .p1.Site.Home "p2" .p2 ) }} -{{ end }} - - {{ .p1.Title }} - -{{ end }}