diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-02 08:41:57 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-02 08:41:57 +0800 |
commit | 7bc45f07c3061d6dab1093edfde6e3e621e58f2f (patch) | |
tree | 85c82d0498ccb5f12179fc1160881dd2cc72cb27 | |
parent | Add sidebar (diff) | |
download | website-7bc45f07c3061d6dab1093edfde6e3e621e58f2f.tar.gz website-7bc45f07c3061d6dab1093edfde6e3e621e58f2f.tar.zst website-7bc45f07c3061d6dab1093edfde6e3e621e58f2f.zip |
Update layouts
-rw-r--r-- | assets/style.css | 2 | ||||
-rw-r--r-- | content/_index.md | 6 | ||||
-rw-r--r-- | 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" }} - <h1>{{ .Site.Title }}</h1> + <h1>{{ .Title }}</h1> {{ .Content }} - <h2>Projects</h2> - <ul> - {{ range .Sections }} - <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> - {{ end }} - </li> - </ul> {{ end }} - |