diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index 50ea4ae..87c25f4 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -4,8 +4,22 @@ /* Post layout (in list pages) */ -.post { - margin-bottom: 40px; +.page-list ul { + list-style: none; + padding: 0; +} + +.page-list li { + padding-top: 8px; + padding-left: 24px; + padding-right: 24px; + padding-bottom: 24px; + border-radius: 12px; + background-color: #222; +} + +.page-list li+li { + margin: 40px 0; } .post-title { @@ -26,7 +40,7 @@ margin-bottom: 15px; } -.tags { +.tags, .series { margin-top: 10px; } @@ -48,7 +62,7 @@ .section { margin-bottom: 40px; background-color: #222; - border-radius: 5px; + border-radius: 12px; padding: 1px 25px; } diff --git a/config.yaml b/config.yaml index 3c301ad..4c3975a 100644 --- a/config.yaml +++ b/config.yaml @@ -11,6 +11,7 @@ params: taxonomies: tag: tags author: authors + series: series privacy: googleAnalytics: diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 4827e96..b0d8911 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -10,8 +10,9 @@ +{{ with .Sections }}
- {{ range .Sections }} + {{ range . }}
@@ -34,13 +35,18 @@ {{ end }}
+{{ end }} -
- {{ range .Paginator.Pages }} - {{ .Render "summary" }} - {{ else }} - {{ i18n "no_posts" }} - {{ end }} +
+
    + {{ range .Paginator.Pages }} +
  • {{ .Render "summary" }}
  • + {{ else }} +
    + {{ i18n "no_posts" }} +
    + {{ end }} +
{{ if gt .Paginator.TotalPages 1 }} diff --git a/layouts/partials/post-metadata.html b/layouts/partials/post-metadata.html index 994f0df..a9b587d 100644 --- a/layouts/partials/post-metadata.html +++ b/layouts/partials/post-metadata.html @@ -74,6 +74,17 @@ {{ end }} + {{ with .Params.series }} +
+ {{ end }} +
{{ range (.GetTerms "tags") }}