diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 7c6844f..61ff6ed 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -8,7 +8,9 @@
{{ range $paginator.Pages }}
{{ end }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 4bf0654..08090b1 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -16,16 +16,14 @@
{{ end }}
-
{{ partial "title" . }}
+ {{ partial "title" . }}
+
+ {{ if or (eq .Type (default "posts" .Site.Params.GeekblogContentSection)) (eq .Type "post") }}
+
+ {{ partial "metadata.html" . }}
+
+ {{ end }}
-
- {{ if or (eq .Type (default "posts" .Site.Params.GeekblogContentSection)) (eq .Type "post") }}
-
- {{ partial "metadata.html" . }}
-
- {{ end }}
-
-
{{ partial "content" . }}
diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html
new file mode 100644
index 0000000..46bb48e
--- /dev/null
+++ b/layouts/_default/taxonomy.html
@@ -0,0 +1,49 @@
+{{ define "main" }}
+ {{ $paginator := .Paginate .Paginator.Pages }}
+ {{ range $paginator.Pages.ByTitle }}
+
+
+
+
+
+ {{ end }}
+ {{ partial "pagination.html" . }}
+{{ end }}
diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html
index fa1b01f..cc14149 100644
--- a/layouts/partials/metadata.html
+++ b/layouts/partials/metadata.html
@@ -1,4 +1,4 @@
-
+
-
+
{{ .ReadingTime }} min read
{{ if eq .Params.weight 1 }}
-
+
Pinned
@@ -28,7 +28,7 @@
{{ $author := index $.Site.Data.authors . }}
{{ with $.Site.GetPage (printf "/authors/%s" . | urlize) }}
{{ if eq $ac 0 }}
-
+
{{ template "post-author" dict "name" $author.name "page" . }}
@@ -46,7 +46,7 @@
{{ $name := . }}
{{ with $.Site.GetPage (printf "/tags/%s" $name | urlize) }}
{{ if eq $tc 0 }}
-
+
{{ template "post-tag" dict "name" $name "page" . }}
@@ -59,7 +59,7 @@
{{ end }}
{{ define "post-tag" }}
-
+
+
{{ .name }}
diff --git a/src/icons/star.svg b/src/icons/star.svg
new file mode 100644
index 0000000..aa5bacd
--- /dev/null
+++ b/src/icons/star.svg
@@ -0,0 +1,5 @@
+
+
diff --git a/src/icons/tag.svg b/src/icons/tag.svg
new file mode 100644
index 0000000..9cbcdc4
--- /dev/null
+++ b/src/icons/tag.svg
@@ -0,0 +1,5 @@
+
+
diff --git a/src/sass/_base.scss b/src/sass/_base.scss
index f3426e6..92b3eae 100644
--- a/src/sass/_base.scss
+++ b/src/sass/_base.scss
@@ -291,10 +291,8 @@ img {
border-top: $border-2 dashed var(--accent-color-dark);
padding: $padding-32 0;
- &__header {
- h1 {
- margin-top: 0;
- }
+ &__title {
+ margin-top: 0;
a,
a:visited {
@@ -327,18 +325,6 @@ img {
}
}
- &__tag {
- margin: $padding-4 0 !important;
-
- .gblog-button__link {
- padding: $padding-4 $padding-8;
-
- &:hover {
- background: none;
- }
- }
- }
-
&__anchorwrap {
&:hover .gblog-post__anchor .icon {
color: var(--control-icons);
@@ -401,14 +387,10 @@ img {
}
&__meta {
- padding-bottom: $padding-16;
-
- .icon {
- font-size: 1.2em;
+ span:first-child .icon {
+ margin-left: -5px;
}
- }
- &__footer {
:not(:first-child).no-wrap {
margin-left: $padding-8;
}
@@ -416,6 +398,14 @@ img {
.icon {
font-size: 1.2em;
}
+
+ .gblog-button {
+ margin-left: $padding-4;
+ }
+
+ &--head {
+ padding-bottom: $padding-16;
+ }
}
&__figure {