From 0c7b7c9f060057a0c24e1681a27855b482bbd858 Mon Sep 17 00:00:00 2001 From: kencx Date: Mon, 19 Feb 2024 21:54:35 +0800 Subject: [PATCH] Simplify --- config.toml | 6 +++--- content/_index.md | 17 +++++++++++------ content/colophon.md | 10 ++++------ content/projects/calibre-rest.md | 7 +------ content/projects/homelab.md | 5 +---- content/projects/keyb.md | 6 +----- content/projects/sxkcd.md | 7 +------ layouts/index.html | 15 --------------- layouts/projects/list.html | 21 ++++++++++----------- themes/bamboo/assets/css/custom.css | 10 ---------- themes/bamboo/layouts/partials/footer.html | 7 +------ 11 files changed, 33 insertions(+), 78 deletions(-) diff --git a/config.toml b/config.toml index 0cd7b207..5184ab96 100644 --- a/config.toml +++ b/config.toml @@ -40,9 +40,9 @@ copyright = "2021—{year}" weight = 1 [[menu.main]] - identifier = "notes" - name = "Notes" - url = "notes/" + identifier = "projects" + name = "Projects" + url = "projects/" weight = 2 [[menu.main]] diff --git a/content/_index.md b/content/_index.md index 90e31722..da511d88 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,7 +1,12 @@ -Hi I'm Ken. I've built some [projects]({{< ref "/projects" >}}), maintain my own -[homelab]({{< ref "/tags/homelab/" >}}) and occasionally [write about stuff]({{< -ref "/notes" >}}) I learnt. I also enjoy indie games, [keyboards]({{< ref -"/tags/keyboards/" ->}}) and filling up my ever-expanding [reading list]({{< ref "/books" >}}). +Hi I'm Ken. I write about some stuff here when I feel like it. My interests +include software, automation, keyboards, indie games and science fiction. -[Colophon]({{< ref "colophon.md" >}}) +- [Colophon](/colophon) +- [Bookshelf](/books) +- [Links]() + +## Contact + +- Email: ken at cheo dot dev +- [Github](https://github.com/kencx) +- [RSS](/posts/index.xml) diff --git a/content/colophon.md b/content/colophon.md index 8f829611..a0202801 100644 --- a/content/colophon.md +++ b/content/colophon.md @@ -4,17 +4,15 @@ date: 2022-07-01 draft: false --- -This site is my attempt for [learning in -public](https://www.swyx.io/learn-in-public/). All information represents -my knowledge at that time and is not guaranteed to be accurate, but I -try my best to ensure its researched and referenced. Incomplete documents -will be flagged. Any constructive criticism is welcome. +All information represents my knowledge at that time and is not guaranteed to be +accurate, but I try my best to ensure its researched and referenced. Incomplete +documents will be flagged. Any constructive criticism is welcome. - Notes are sorted alphabetically with a "last edited" date - Blog posts are sorted chronologically by the date they are first posted and appended with a "last edited" date. - Some documents are incomplete and will be flagged as such. -- A site-wide search engine is _coming soon_. +- A site-wide search engine is probably _coming soon_. ### Software diff --git a/content/projects/calibre-rest.md b/content/projects/calibre-rest.md index d7df2589..592428dc 100644 --- a/content/projects/calibre-rest.md +++ b/content/projects/calibre-rest.md @@ -5,15 +5,10 @@ lastmod: 2023-07-10 weight: 2 draft: false repo_url: https://github.com/kencx/calibre-rest -post_url: posts/calibre-rest tools: - Python - Flask - Docker --- -A self-hosted REST API server that wraps `calibredb` to expose a Calibre -library. - -I wrote this project as I could not find a good language-agnostic -method to programmatically manipulate a Calibre library (locally or remotely). +Selfhosted REST API server to expose a Calibre library diff --git a/content/projects/homelab.md b/content/projects/homelab.md index 33c4d37e..6b56efcd 100644 --- a/content/projects/homelab.md +++ b/content/projects/homelab.md @@ -5,13 +5,10 @@ lastmod: 2023-07-12 weight: 1 draft: false repo_url: https://github.com/kencx/homelab -post_url: tools: - Ansible - Terraform - Packer --- -A Nomad, Consul and Vault cluster hosted on Proxmox. Documentation -[here](https://kencx.github.io/homelab). - +Nomad, Consul and Vault cluster hosted on Proxmox diff --git a/content/projects/keyb.md b/content/projects/keyb.md index 1232dc19..7affe930 100644 --- a/content/projects/keyb.md +++ b/content/projects/keyb.md @@ -5,12 +5,8 @@ lastmod: weight: 4 draft: false repo_url: https://github.com/kencx/keyb -post_url: posts/keyb-a-hotkey-cheatsheet-in-the-terminal tools: - Go --- -A lightweight and fully customizable hotkey cheatsheet in the terminal. - -`keyb` can create and view custom hotkey cheatsheets in a nice TUI. It supports -fuzzy filtering and vim key bindings. +Lightweight, fully customizable hotkey cheatsheet in the terminal diff --git a/content/projects/sxkcd.md b/content/projects/sxkcd.md index 4593caec..315767c9 100644 --- a/content/projects/sxkcd.md +++ b/content/projects/sxkcd.md @@ -5,7 +5,6 @@ lastmod: weight: 3 draft: false repo_url: https://github.com/kencx/sxkcd -post_url: posts/sxkcd tools: - Go - Svelte @@ -13,8 +12,4 @@ tools: - Docker --- -A full-text search engine for [xkcd](https://xkcd.com) comics supported by -Redis. Test it out at [xkcd.cheo.dev](https://xkcd.cheo.dev). - -It features an extensive query syntax with comic number and date -filtering. +Full-text search engine for [xkcd](https://xkcd.com) built with Go and Redis diff --git a/layouts/index.html b/layouts/index.html index 01246eb7..a91d5c8c 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,19 +2,4 @@

About

{{ .Content }} - -

Projects

- {{ range .Site.Pages }} - {{ if eq .Type "projects" }} -
- {{ range .Pages.ByWeight }} -
- {{ .Title }} - {{.Summary}} -
- {{ end }} -
- {{ end }} - {{ end }} -
{{ end }} diff --git a/layouts/projects/list.html b/layouts/projects/list.html index 23649d17..c27d9662 100644 --- a/layouts/projects/list.html +++ b/layouts/projects/list.html @@ -10,18 +10,17 @@

{{ if (where .Site.Pages "Section" "projects") }}
- {{ range .Pages.ByWeight }} -
-

- - {{ .Title }} - -

- - -
-
{{.Content}}
+
{{ end }} diff --git a/themes/bamboo/assets/css/custom.css b/themes/bamboo/assets/css/custom.css index eaac7c47..90940e62 100644 --- a/themes/bamboo/assets/css/custom.css +++ b/themes/bamboo/assets/css/custom.css @@ -237,16 +237,6 @@ pre, code, kbd, samp, tt, var { border-left: 4px solid var(--b-focus); } -/* projects */ - -.projects { - margin-bottom: 1rem; -} - -.projects h3 { - margin-bottom: 0.2rem; -} - /* books */ .card-view { /* auto scaling grid with max num of columns and min width*/ diff --git a/themes/bamboo/layouts/partials/footer.html b/themes/bamboo/layouts/partials/footer.html index 628283e3..40dd73d3 100644 --- a/themes/bamboo/layouts/partials/footer.html +++ b/themes/bamboo/layouts/partials/footer.html @@ -1,11 +1,6 @@