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 }}