Removed pages with taxonomy (#679)

* removed pages with taxonomy

* redirect to the blog index from deleted taxonomy pages

* comment
This commit is contained in:
trean
2024-03-05 19:21:55 +01:00
committed by GitHub
parent cd76410015
commit f42220a3fc
5 changed files with 69 additions and 31 deletions
@@ -1,23 +0,0 @@
{{ define "main" }}
<section class="auto-container pt-5">
<div class="row">
{{ partial "blog-sidebar" . }}
<div class="content-side col-lg-8 col-md-12 col-sm-12">
<h3>Categories</h3>
<ul>
{{ range $name, $taxonomy := .Site.Taxonomies.categories }}
<li><a href='{{ "/categories/" | relLangURL }}{{ $name | urlize }}'>{{ $name }}</a></li>
{{end}}
</ul>
<h3>Tags</h3>
<ul>
{{ range $name, $taxonomy := .Site.Taxonomies.tags }}
<li><a href='{{ "/tags/" | relLangURL }}{{ $name | urlize }}'>{{ $name }}</a></li>
{{end}}
</ul>
</div>
</div>
</section>
{{ end }}
@@ -1,4 +0,0 @@
{{ define "main" }}
{{ partial "sidebar-list" . }}
{{ end }}
@@ -1,4 +0,0 @@
{{ define "main" }}
{{ partial "sidebar-list" . }}
{{ end }}