diff --git a/archetypes/apps.md b/archetypes/apps.md deleted file mode 100644 index d6b87ca..0000000 --- a/archetypes/apps.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: "{{ replace .File.ContentBaseName "-" " " | title }}" -date: "{{ .Date }}" -draft: true -description: "" -tags: [] -status: "" -weight: 10 -links: [] -toc: true -math: false ---- diff --git a/content/apps/_index.md b/content/apps/_index.md deleted file mode 100644 index 74fd5db..0000000 --- a/content/apps/_index.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Apps" -build: - render: never - list: always ---- diff --git a/content/apps/clipbored.md b/content/projects/clipbored.md similarity index 92% rename from content/apps/clipbored.md rename to content/projects/clipbored.md index 8b80284..813b73d 100644 --- a/content/apps/clipbored.md +++ b/content/projects/clipbored.md @@ -6,6 +6,8 @@ description: "A local-only macOS clipboard manager with a keyboard-first bottom tags: ["Swift", "AppKit", "macOS", "Clipboard", "SQLite"] status: "open beta" weight: 20 +aliases: + - /apps/clipbored/ links: - label: "GitHub" url: "https://github.com/akkolli/clipbored" @@ -15,7 +17,7 @@ math: false ClipBored is a small native macOS clipboard manager. It captures local clipboard history and opens a keyboard-first responsive bottom panel for search, sorting, copy, paste, pinning, deletion, and organization. -{{< figure src="/images/apps/clipbored/panel.png" alt="ClipBored clipboard panel snapshot." />}} +{{< figure src="/images/projects/clipbored/panel.png" alt="ClipBored clipboard panel snapshot." />}} ## What It Does diff --git a/content/apps/feedme.md b/content/projects/feedme.md similarity index 91% rename from content/apps/feedme.md rename to content/projects/feedme.md index d9be8b9..7f47e5e 100644 --- a/content/apps/feedme.md +++ b/content/projects/feedme.md @@ -6,6 +6,8 @@ description: "A local-first native SwiftUI feed reader for macOS and iOS." tags: ["Swift", "SwiftUI", "RSS", "macOS", "iOS"] status: "open beta" weight: 10 +aliases: + - /apps/feedme/ links: [] toc: true math: false @@ -13,7 +15,7 @@ math: false FeedMe is a small native SwiftUI feed reader for macOS and iOS. It is local-first, account-free, and built around a shared Swift package for feed parsing, OPML import/export, refresh orchestration, and SQLite persistence. -{{< figure src="/images/apps/feedme/demo.png" alt="FeedMe running with a local demo library on iOS." />}} +{{< figure src="/images/projects/feedme/demo.png" alt="FeedMe running with a local demo library on iOS." />}} ## What It Does diff --git a/content/apps/ihatepdfs.md b/content/projects/ihatepdfs.md similarity index 92% rename from content/apps/ihatepdfs.md rename to content/projects/ihatepdfs.md index e2fb539..3e43afd 100644 --- a/content/apps/ihatepdfs.md +++ b/content/projects/ihatepdfs.md @@ -6,6 +6,8 @@ description: "A tiny native macOS PDF reader for local reading, highlighting, co tags: ["Swift", "SwiftUI", "PDFKit", "macOS"] status: "open beta" weight: 30 +aliases: + - /apps/ihatepdfs/ links: - label: "GitHub" url: "https://github.com/akkolli/ihatepdfs" @@ -19,7 +21,7 @@ math: false I Hate PDFs is a small native macOS PDF reader for local reading, highlighting, commenting, and review. It uses SwiftUI, AppKit, and PDFKit, keeps documents on your Mac, and avoids accounts, tracking, and cloud upload. -{{< figure src="/images/apps/ihatepdfs/default-reading.png" alt="I Hate PDFs default reading mode." />}} +{{< figure src="/images/projects/ihatepdfs/default-reading.png" alt="I Hate PDFs default reading mode." />}} ## What It Does diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 2d86622..d9780fa 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -3,7 +3,7 @@ {{ $hasToc := and (ne .Params.toc false) (gt (len (findRE "
  • " .TableOfContents)) 0) }} {{ $backHref := "/" | relURL }} {{ $backLabel := "Home" }} - {{ if in (slice "apps" "projects" "websites") .Section }} + {{ if in (slice "projects" "websites") .Section }} {{ $backHref = "/projects/" | relURL }} {{ $backLabel = "Projects" }} {{ else if eq .Section "publications" }} diff --git a/layouts/index.rss.xml b/layouts/index.rss.xml index ddc8b8c..23d4cfd 100644 --- a/layouts/index.rss.xml +++ b/layouts/index.rss.xml @@ -1,8 +1,7 @@ {{- $items := slice -}} -{{- range where site.RegularPages "Section" "in" (slice "posts" "projects" "apps") -}} +{{- range where site.RegularPages "Section" "in" (slice "posts" "projects") -}} {{- $description := .Description | default (.Summary | plainify) -}} {{- $section := title .Section -}} - {{- if eq .Section "apps" }}{{ $section = "Projects" }}{{ end -}} {{- $items = $items | append (dict "title" .Title "link" .Permalink diff --git a/layouts/partials/file-index.html b/layouts/partials/file-index.html index 31b3d24..4ec1edb 100644 --- a/layouts/partials/file-index.html +++ b/layouts/partials/file-index.html @@ -25,7 +25,7 @@ {{ if eq $active "publications" }} {{ partial "publication-list.html" hugo.Data.publications }} {{ else if eq $active "projects" }} - {{ partial "page-list.html" (where site.RegularPages "Section" "in" (slice "projects" "apps")) }} + {{ partial "page-list.html" (where site.RegularPages "Section" "projects") }} {{ else if eq $active "contact" }} {{ partial "contact-section.html" . }} {{ else }} diff --git a/static/images/apps/clipbored/icon.png b/static/images/projects/clipbored/icon.png similarity index 100% rename from static/images/apps/clipbored/icon.png rename to static/images/projects/clipbored/icon.png diff --git a/static/images/apps/clipbored/panel.png b/static/images/projects/clipbored/panel.png similarity index 100% rename from static/images/apps/clipbored/panel.png rename to static/images/projects/clipbored/panel.png diff --git a/static/images/apps/feedme/demo.png b/static/images/projects/feedme/demo.png similarity index 100% rename from static/images/apps/feedme/demo.png rename to static/images/projects/feedme/demo.png diff --git a/static/images/apps/ihatepdfs/default-reading.png b/static/images/projects/ihatepdfs/default-reading.png similarity index 100% rename from static/images/apps/ihatepdfs/default-reading.png rename to static/images/projects/ihatepdfs/default-reading.png diff --git a/static/images/apps/ihatepdfs/icon.png b/static/images/projects/ihatepdfs/icon.png similarity index 100% rename from static/images/apps/ihatepdfs/icon.png rename to static/images/projects/ihatepdfs/icon.png