aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-06-15 18:42:58 +0800
committerYuqian Yang <crupest@crupest.life>2025-06-15 18:42:58 +0800
commit9407906d08b2f7e493996e3924c42f6cf90b29a8 (patch)
treee1a42c9635f9c0605259af67df23dcc640b2728f /www
parent6d96abc1a4be308c7679797abdff8d9f02067ccd (diff)
downloadcrupest-9407906d08b2f7e493996e3924c42f6cf90b29a8.tar.gz
crupest-9407906d08b2f7e493996e3924c42f6cf90b29a8.tar.bz2
crupest-9407906d08b2f7e493996e3924c42f6cf90b29a8.zip
www: move date label and add hr on list page.dev
Diffstat (limited to 'www')
-rw-r--r--www/assets/res/css/article.css1
-rw-r--r--www/layouts/home.html4
-rw-r--r--www/layouts/list.html1
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 @@
</ul>
</div>
</section>
- <hr>
+ <hr/>
{{ with .GetPage "/posts" }}
<section id="recent-posts">
<h2>Recent Posts <a class="mono-link" href="{{ .RelPermalink }}">(all)</a></h2>
@@ -55,7 +55,7 @@
}}
</section>
{{ end }}
- <hr>
+ <hr/>
<section>
<h2 id="friends">My Friends <small>(more links are being collected ...)</small></h2>
<div id="friends-container">
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" . }}
<h1>{{ .Title }}</h1>
+ <hr/>
{{ partial "preview/posts.html" (dict
"h" "h3"
"pages" .RegularPages