From 7bc45f07c3061d6dab1093edfde6e3e621e58f2f Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 2 Mar 2025 08:41:57 +0800 Subject: Update layouts --- assets/style.css | 2 +- content/_index.md | 6 +++++- layouts/_default/home.html | 12 ++---------- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/assets/style.css b/assets/style.css index e40056e..481e4af 100644 --- a/assets/style.css +++ b/assets/style.css @@ -52,7 +52,7 @@ main:not(.wide) { max-width: 50rem; } -@media(max-width: 470px) { +@media(max-width: 550px) { aside#sidebar { display: none; } diff --git a/content/_index.md b/content/_index.md index 4fc7ed9..ec29e98 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,8 +1,12 @@ +--- +title: Home +--- + Lindenii is a group of small computer-related projects. ## Contact -[`#lindenii`](https://runxiyu.org/~fun/kiwiirc/kiwiirc_v1.7.1-2/#lindenii) on +[`#lindenii`](https://webirc.runxiyu.org/kiwiirc/#lindenii) on [irc.runxiyu.org](https://irc.runxiyu.org) ## Repositories diff --git a/layouts/_default/home.html b/layouts/_default/home.html index 8bcf1b4..480b8f5 100644 --- a/layouts/_default/home.html +++ b/layouts/_default/home.html @@ -1,15 +1,7 @@ {{ define "title" }} - {{ .Site.Title }} + {{ .Title }} {{ end }} {{ define "main" }} -

{{ .Site.Title }}

+

{{ .Title }}

{{ .Content }} -

Projects

- {{ end }} - -- cgit v1.2.3