From 4b6cfbb9edbd34f16d6b4ff9bcf3d556a81fc3d7 Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Mon, 7 Mar 2022 22:30:16 -0800 Subject: [PATCH] Add bookmarks page Pulls content exported from Buku, so I don't have to commit every time I add a bookmark. Since I added another nav item, I had to adjust the navbar css. --- .rsyncignore | 1 + assets/css/main.css | 2 +- config.toml | 7 ++++++ content/_index.md | 3 ++- content/bookmarks.md | 11 ++++++++++ layouts/_default/bookmarks.html | 39 +++++++++++++++++++++++++++++++++ 6 files changed, 61 insertions(+), 2 deletions(-) create mode 100644 content/bookmarks.md create mode 100644 layouts/_default/bookmarks.html diff --git a/.rsyncignore b/.rsyncignore index f872f81..680599d 100644 --- a/.rsyncignore +++ b/.rsyncignore @@ -6,6 +6,7 @@ music.txt.gz music.txt.br webmentions/ noindex/ +data/ *d3.html *d1.html *fc.html diff --git a/assets/css/main.css b/assets/css/main.css index c9dbb85..64ebd40 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -58,7 +58,7 @@ nav li { } /* single-line nav on widescreen, multi-line nav on narrow screens */ -@media (min-width: 24em) { +@media (min-width: 32em) { nav li { display: inline; } diff --git a/config.toml b/config.toml index 72f34a9..9ef46d6 100644 --- a/config.toml +++ b/config.toml @@ -32,6 +32,13 @@ nick = "Seirdy" url = "/posts.html" weight = 10 + [[menu.main]] + identifier = "bookmarks" + name = "Bookmarks" + title = "bookmarks" + url = "/bookmarks.html" + weight = 11 + [[menu.main]] identifier = "about" name = "About" diff --git a/content/_index.md b/content/_index.md index 4703ad3..fd38883 100644 --- a/content/_index.md +++ b/content/_index.md @@ -5,7 +5,8 @@ outputs: title: Seirdy's Home description: "Seirdy's Home: personal website and blog for Rohan Kumar, A.K.A. Seirdy. I write about and develop software to promote user autonomy." sitemap: - - Priority: 1.0 + - ChangeFreq: weekly + - Priority: 0.9 ---