From 7e4c9314880a6af211489995821a87137aad1f3c Mon Sep 17 00:00:00 2001 From: Micressor <micressor@secure.mailbox.org> Date: Wed, 19 Dec 2018 18:52:59 +0100 Subject: [PATCH] Home: The font size of the slogan and the news headline should be smaller. --- themes/briar/layouts/_default/list.html | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/themes/briar/layouts/_default/list.html b/themes/briar/layouts/_default/list.html index 3f1ed33..8b9ae4e 100644 --- a/themes/briar/layouts/_default/list.html +++ b/themes/briar/layouts/_default/list.html @@ -1,13 +1,8 @@ {{ define "main" }} -<h1>{{ with .Title }} {{ . }} {{ else }} {{ .Site.Title }} {{ end }}</h1> +<h2>{{ with .Title }} {{ . }} {{ else }} {{ .Site.Title }} {{ end }}</h2> +<p><strong>Latest News:</strong> {{ range first 1 .Pages.ByDate.Reverse }} -<h3 itemprop="headline" class="blog-post-title"> <a href="{{.Permalink}}">{{.Title}}</a> -</h3> -<p class="blog-post-meta">{{.Date.Format "2006-01-02"}} -{{ if (isset .Params "author") }} -by {{ markdownify .Params.author }} -{{ end }} </p> {{ end }} {{ .Content }} -- GitLab