diff options
| author | Yuqian Yang <crupest@crupest.life> | 2025-06-15 18:42:58 +0800 | 
|---|---|---|
| committer | Yuqian Yang <crupest@crupest.life> | 2025-06-15 18:42:58 +0800 | 
| commit | f1c19b07aac94cebef8414953c95a27f27a01580 (patch) | |
| tree | 6753f1b76761c6b763f10cc54c0072a41b1cb9b0 /www | |
| parent | 6e2cfec16aa1481ac73317f6b7b29d7733a1a42d (diff) | |
| download | crupest-f1c19b07aac94cebef8414953c95a27f27a01580.tar.gz crupest-f1c19b07aac94cebef8414953c95a27f27a01580.tar.bz2 crupest-f1c19b07aac94cebef8414953c95a27f27a01580.zip  | |
www: move date label and add hr on list page.
Diffstat (limited to 'www')
| -rw-r--r-- | www/assets/res/css/article.css | 1 | ||||
| -rw-r--r-- | www/layouts/home.html | 4 | ||||
| -rw-r--r-- | 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 @@        </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  | 
