Changed up category taxonomy

This commit is contained in:
tsmitty11 2023-05-18 21:33:56 +02:00
parent f0ac077731
commit 4d507e06ab
4 changed files with 9 additions and 41 deletions

View file

@ -18,3 +18,4 @@ title = 'Equitable Open-Source for Web3'
[taxonomies]
category = "categories"
tags = "tags"

View file

@ -0,0 +1,8 @@
<h1>{{ .Page.Title }}</h1>
<ul>
{{ range .Data.Pages }}
<li>
<a href="{{ .Permalink }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>

View file

@ -1,20 +0,0 @@
<!DOCTYPE html>
<html lang="en">
{{ partial "head.html" . }}
<body>
{{ partial "navbar.html" . }}
<main>
<div class="container">
<h1>{{ .Title }}</h1>
{{ range .Pages }}
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
<!-- Add any additional fields or content from the post you want to display -->
{{ end }}
</div>
</main>
<footer>
{{ partial "footer-content.html" . }}
{{ partial "footer.html" . }}
</footer>
</body>
</html>

View file

@ -1,21 +0,0 @@
<!DOCTYPE html>
<html lang="en">
{{ partial "head.html" . }}
<body>
{{ partial "navbar.html" . }}
<main>
<div class="container one-box">
<h1>{{ .Title }}</h1>
<ul>
{{ range .Data.Terms.Alphabetical }}
<li><a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> ({{ .Count }})</li>
{{ end }}
</ul>
</div>
</main>
<footer>
{{ partial "footer-content.html" . }}
{{ partial "footer.html" . }}
</footer>
</body>
</html>