diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index 6eaa757..e21c3e0 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -163,6 +163,10 @@ margin: 0; } +.category-list .category-metadata { + margin-left: auto; +} + /* Tags list format */ diff --git a/i18n/en.yaml b/i18n/en.yaml index eb2d794..b5c808c 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -91,6 +91,9 @@ aria_post_metadata: aria_author_metadata: other: "author metadata" +aria_category_metadata: + other: "category metadata" + aria_post_meta_date: other: "date" @@ -103,6 +106,9 @@ aria_author_post_count: aria_author_word_count: other: "word count" +aria_category_post_count: + other: "post count" + aria_series_metadata: other: "series metadata" diff --git a/i18n/es.yaml b/i18n/es.yaml index fef969e..1d64dcf 100644 --- a/i18n/es.yaml +++ b/i18n/es.yaml @@ -91,6 +91,9 @@ newer_post: # aria_author_metadata: # other: "author metadata" +# aria_category_metadata: +# other: "category metadata" + # aria_post_meta_date: # other: "date" @@ -103,6 +106,9 @@ newer_post: # aria_author_word_count: # other: "word count" +# aria_category_post_count: +# other: "post count" + # aria_series_metadata: # other: "series metadata" diff --git a/layouts/categories/list.html b/layouts/categories/list.html index 9eb8c54..4e23ae3 100644 --- a/layouts/categories/list.html +++ b/layouts/categories/list.html @@ -14,6 +14,7 @@
{{ .Title | markdownify }}
{{ partial "description-or-summary.html" . }} + {{ partial "post-metadata/category.html" . }} {{ end }} {{ end }} diff --git a/layouts/categories/term.html b/layouts/categories/term.html index 569c37b..16a783f 100644 --- a/layouts/categories/term.html +++ b/layouts/categories/term.html @@ -5,6 +5,8 @@ {{ partial "rss-link.html" . }} + {{ partial "post-metadata/category.html" . }} + {{ with .Content }} {{ . }} {{ end }} diff --git a/layouts/partials/post-metadata/category.html b/layouts/partials/post-metadata/category.html new file mode 100644 index 0000000..e43b020 --- /dev/null +++ b/layouts/partials/post-metadata/category.html @@ -0,0 +1,6 @@ +