Dupluralisationing

This commit is contained in:
Dan 2025-12-31 08:38:42 +00:00
parent ad78a3e27e
commit d89744f46f
17 changed files with 19 additions and 19 deletions

View file

@ -1,7 +1,7 @@
---
title: "{{ replace .TranslationBaseName "-" " " | title }}"
date: {{ .Date }}
url: /blogs/{{ .TranslationBaseName }}/
url: /blog/{{ .TranslationBaseName }}/
tags:
-
draft: true

View file

@ -18,7 +18,7 @@
@import "pages/about";
@import "pages/audio";
@import "pages/now";
@import "pages/blogs";
@import "pages/blog";
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Neonderthaw&display=swap");

View file

@ -1,7 +1,7 @@
---
title: Getting Started with Hugo
date: 2025-01-15T10:00:00+00:00
url: /blogs/getting-started-with-hugo/
url: /blog/getting-started-with-hugo/
tags:
- hugo
- web development

View file

@ -1,7 +1,7 @@
---
title: Customizing Your Development Environment
date: 2025-01-20T14:30:00+00:00
url: /blogs/customizing-your-development-environment/
url: /blog/customizing-your-development-environment/
tags:
- productivity
- tools

View file

@ -1,7 +1,7 @@
---
title: Building Resilient Systems
date: 2025-01-25T09:15:00+00:00
url: /blogs/building-resilient-systems/
url: /blog/building-resilient-systems/
tags:
- architecture
- reliability

View file

@ -1,7 +1,7 @@
---
title: Understanding Async Programming
date: 2025-02-01T11:00:00+00:00
url: /blogs/understanding-async-programming/
url: /blog/understanding-async-programming/
tags:
- programming
- javascript

View file

@ -1,7 +1,7 @@
---
title: "Weekly Update: February 5"
date: 2025-02-05T09:00:00+00:00
url: /blogs/weekly-update-february-5/
url: /blog/weekly-update-february-5/
tags:
- weekly
- updates

View file

@ -1,7 +1,7 @@
---
title: Exploring Terminal Emulators
date: 2025-02-10T14:20:00+00:00
url: /blogs/exploring-terminal-emulators/
url: /blog/exploring-terminal-emulators/
tags:
- terminal
- tools

View file

@ -1,7 +1,7 @@
---
title: "Weekly Update: February 12"
date: 2025-02-12T08:30:00+00:00
url: /blogs/weekly-update-february-12/
url: /blog/weekly-update-february-12/
tags:
- weekly
- updates

View file

@ -1,7 +1,7 @@
---
title: Version Control Best Practices
date: 2025-02-15T16:45:00+00:00
url: /blogs/version-control-best-practices/
url: /blog/version-control-best-practices/
tags:
- git
- workflow

5
content/blog/_index.md Normal file
View file

@ -0,0 +1,5 @@
---
title: "Blog"
---
Welcome to the blog. Here you'll find my thoughts and writings on various topics.

View file

@ -1,5 +0,0 @@
---
title: "Blogs"
---
Welcome to the blogs section. Here you'll find my thoughts and writings on various topics.

View file

@ -9,7 +9,7 @@
{{ $tags := slice }}
{{ range .Site.RegularPages }}
{{ if eq .Section "blogs" }}
{{ if eq .Section "blog" }}
{{ range .Params.tags }}
{{ $tags = $tags | append . }}
{{ end }}
@ -20,7 +20,7 @@
<nav class="blog-tags-filter">
<span class="filter-label">Filter by tag: (found {{ len $tags }} tags)</span>
<div class="tag-links">
<a href="/blogs/" class="tag-filter-link active">All</a>
<a href="/blog/" class="tag-filter-link active">All</a>
{{ range $tags }}
{{ $tagURL := printf "/tags/%s/" (. | urlize) }}
<a href="{{ $tagURL }}" class="tag-filter-link">{{ . }}</a>

View file

@ -4,7 +4,7 @@
<div class="blogs-screen">
<div class="blogs-content">
<nav class="blog-navigation">
<a href="/blogs/" class="nav-link back-link">← All Blogs</a>
<a href="/blog/" class="nav-link back-link">← All Blog Posts</a>
</nav>
<article class="blog-post-card">

View file

@ -11,7 +11,7 @@
<nav class="blog-tags-filter">
<span class="filter-label">Filter by tag:</span>
<div class="tag-links">
<a href="/blogs/" class="tag-filter-link">All</a>
<a href="/blog/" class="tag-filter-link">All</a>
{{ range $name, $taxonomy := .Site.Taxonomies.tags }}
{{ $tagURL := printf "/tags/%s/" ($name | urlize) }}
<a href="{{ $tagURL }}" class="tag-filter-link{{ if eq $name $.Title }} active{{ end }}">{{ $name }}</a>