+ {{ $paginator := .Paginate (where .Site.Pages "Type" "post") 15 }}
{{ range $paginator.Pages.GroupByDate "2006"}}
-
-
+
+
{{ range .Pages }}
- -
+
-
diff --git a/static/scss/archive.scss b/static/scss/archive.scss
new file mode 100644
index 00000000..55ac694d
--- /dev/null
+++ b/static/scss/archive.scss
@@ -0,0 +1,9 @@
+.archive {
+ .archive-list {
+ @extend .clear-list;
+ }
+
+ .posts-title {
+ font-weight: 500;
+ }
+}
diff --git a/static/scss/front-page.scss b/static/scss/front-page.scss
index fdd6dc06..1dc2fca6 100644
--- a/static/scss/front-page.scss
+++ b/static/scss/front-page.scss
@@ -1,10 +1,6 @@
$font-small: 0.9rem;
.front-page {
- h1 {
- border-bottom: 2px dotted $highlight-orange;
- }
-
h3,
h4,
h5,
@@ -23,7 +19,17 @@ $font-small: 0.9rem;
}
.section {
- margin-bottom: 1.5rem;
+ .section-header {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ margin-bottom: 0.75rem;
+ border-bottom: 2px dotted $highlight-orange;
+ }
+
+ .section-title {
+ margin-bottom: 0;
+ }
}
}
@@ -46,8 +52,8 @@ $font-small: 0.9rem;
}
}
-.front {
- .front-header {
+.front-header {
+ .front-title {
margin-bottom: 0;
}
.front-list {
diff --git a/static/scss/main.scss b/static/scss/main.scss
index c2aeca3e..99020c96 100644
--- a/static/scss/main.scss
+++ b/static/scss/main.scss
@@ -64,3 +64,5 @@ h6 {
@import "./section.scss";
@import "./footer.scss";
@import "./front-page.scss";
+@import "./archive.scss";
+@import "./paginate.scss";
diff --git a/static/scss/paginate.scss b/static/scss/paginate.scss
index f4553a64..c7f01537 100644
--- a/static/scss/paginate.scss
+++ b/static/scss/paginate.scss
@@ -1,5 +1,3 @@
-// Styles
-
.pagination {
display: flex;
// 1-2: Disable browser default list styles