From 9407906d08b2f7e493996e3924c42f6cf90b29a8 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Sun, 15 Jun 2025 18:42:58 +0800 Subject: www: move date label and add hr on list page. --- www/assets/res/css/article.css | 1 + www/layouts/home.html | 4 ++-- www/layouts/list.html | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/www/assets/res/css/article.css b/www/assets/res/css/article.css index 86ecdb7..93f86ef 100644 --- a/www/assets/res/css/article.css +++ b/www/assets/res/css/article.css @@ -17,6 +17,7 @@ & > .date { font-size: small; + margin-top: 0.3em; float: right; color: hsl(0, 0%, 25%); } diff --git a/www/layouts/home.html b/www/layouts/home.html index 3cfc455..38f7604 100644 --- a/www/layouts/home.html +++ b/www/layouts/home.html @@ -45,7 +45,7 @@ -
+
{{ with .GetPage "/posts" }}

Recent Posts (all)

@@ -55,7 +55,7 @@ }}
{{ end }} -
+

My Friends (more links are being collected ...)

diff --git a/www/layouts/list.html b/www/layouts/list.html index be33d10..1d4ec56 100644 --- a/www/layouts/list.html +++ b/www/layouts/list.html @@ -5,6 +5,7 @@ {{ define "content" }} {{ partial "nav.html" . }}

{{ .Title }}

+
{{ partial "preview/posts.html" (dict "h" "h3" "pages" .RegularPages -- cgit v1.2.3