diff --git a/assets/css/main.css b/assets/css/main.css
index 9f6cb73..830da4e 100644
--- a/assets/css/main.css
+++ b/assets/css/main.css
@@ -157,6 +157,12 @@ footer a {
align-items: baseline;
}
+.tag-line {
+ margin-bottom: .5rem;
+ display: flex;
+ align-items: baseline;
+}
+
.post-line p {
margin-top: 0rem;
margin-bottom: 0rem;
@@ -177,6 +183,10 @@ footer a {
margin: 0;
}
+.tag-title {
+ margin: 0;
+}
+
.line-summary {
font-size: small;
margin-top: .2rem !important;
@@ -329,4 +339,11 @@ footer a {
.not-found div h1 {
font-size: 6rem;
margin-bottom: 3rem;
+}
+
+/* breadcrumbs */
+
+.breadcrumbs {
+ /* font-family: "Monaspace"; */
+ font-size: small;
}
\ No newline at end of file
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 8c52a86..5cf6c81 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,7 +1,12 @@
{{ define "main" }}
+
+{{ partial "breadcrumbs.html" . }}
+
{{ .Title }}
{{ .Content }}
+{{ $tagsPage := eq .Title "Tags"}}
+
{{ $paginationSize := 1}}
{{ if (gt .Site.Params.paginationSize 0) }}
{{ $paginationSize = .Site.Params.paginationSize }}
@@ -10,9 +15,15 @@
{{ $paginator := .Paginate (.Pages) $paginationSize }}
{{ range $index, $page := $paginator.Pages }}
+
+{{ if $tagsPage }}
+{{ partial "tag-entry.html" $page}}
+{{ else }}
{{ partial "post-entry.html" $page}}
{{ end }}
+{{ end }}
+
{{ partial "pagination-controls.html" $paginator}}
{{ end }}
\ No newline at end of file
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 420a8ba..3eb46af 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -2,6 +2,8 @@
{{/* Intro */}}
+{{ partial "breadcrumbs.html" . }}
+
@@ -30,6 +32,8 @@
+ {{/* {{ .Params.tags }} */}}
+
{{/* Table of Content */}}
{{if .Param "toc" }}
diff --git a/layouts/partials/breadcrumbs.html b/layouts/partials/breadcrumbs.html
new file mode 100644
index 0000000..9040d1f
--- /dev/null
+++ b/layouts/partials/breadcrumbs.html
@@ -0,0 +1,8 @@
+
\ No newline at end of file
diff --git a/layouts/partials/tag-entry.html b/layouts/partials/tag-entry.html
new file mode 100644
index 0000000..378654b
--- /dev/null
+++ b/layouts/partials/tag-entry.html
@@ -0,0 +1,7 @@
+
\ No newline at end of file