diff --git a/site/layouts/index.html b/site/layouts/index.html index b464709..a3f67d3 100644 --- a/site/layouts/index.html +++ b/site/layouts/index.html @@ -13,17 +13,22 @@

-
- {{ range first 1 .Paginator.Pages }} - {{ partial "blog-summary.html" . }} +
+

Latest News

+
+ {{ range first 5 .Paginator.Pages }} + + {{ .Title }} {{end}} -
+
+
+
diff --git a/src/scss/home.scss b/src/scss/home.scss index 23d4331..5f6a402 100644 --- a/src/scss/home.scss +++ b/src/scss/home.scss @@ -15,7 +15,7 @@ .lr-home-mainjumbo { background-image: url('/img/home/home-board.png'); background-repeat: no-repeat; - background-position: right; + background-position: right bottom; background-size: 50%; background-color: $color-lowrisc-charcoal; @@ -43,6 +43,15 @@ font-size: 1.3em; } +.lr-latest-news { + display: grid; + width: 100%; + grid-template-columns: 6em 1fr; + gap: 0.2em 1em; +} +.lr-latest-news > time { + text-align: right; +} // Columns below the main jumbo message .lr-home-marketing .col-lg-4 {