Skip to content

Commit 65e8350

Browse files
committed
fix: address lighthosue accessiblity issues
1 parent a497d30 commit 65e8350

File tree

5 files changed

+28
-6
lines changed

5 files changed

+28
-6
lines changed

content/about/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,17 @@ layout: "about"
66

77
I'm a Principal Engineer at [RVU](https://www.rvu.co.uk/), based in Bath, UK. My day-to-day is in platform engineering - distributed systems, cloud infrastructure (mostly AWS), Kubernetes, and developer tooling.
88

9-
### What I'm Into
9+
## What I'm Into
1010

1111
I spend most of my time in Linux (NixOS specifically), Rust, and Go. I'm currently learning Rust by building small games with [Bevy](https://bevyengine.org/) as a way to explore the language beyond typical backend work.
1212

1313
I like declarative configuration and reproducible environments. My [NixOS config](https://github.com/DewaldV/nixos) manages multiple machines and I run a homelab with [Home Assistant](https://www.home-assistant.io/) on a Raspberry Pi alongside several NixOS boxes.
1414

15-
### The Homelab
15+
## The Homelab
1616

1717
I'm always tinkering with my home automation setup - currently planning smart heating with Zigbee TRVs and running proper cable throughout the house. I lean heavily toward self-hosting and local control over cloud-dependent services, and I'm gradually working on de-Googling.
1818

19-
### Other Interests
19+
## Other Interests
2020

2121
- Gaming on Linux
2222
- Boxing and hiking

hugo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
baseURL = 'https://dewaldv.com/'
22
languageCode = 'en-GB'
33
title = 'DEWALD VILJOEN'
4+
copyright = 'Dewald Viljoen'
45

56
theme = "tales"
67

78
[params]
89
mainSections = ["posts"]
10+
description = "A blog about Linux, Rust, homelabbing, and life as a developer."
11+
author = "Dewald Viljoen"
912
github = "https://github.com/DewaldV"
1013
linkedin = "https://www.linkedin.com/in/dewaldv/"
1114

themes/tales/layouts/_default/baseof.html

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,22 @@
99
if (t) document.documentElement.setAttribute('data-theme', t);
1010
})();
1111
</script>
12-
<title>{{ .Title }}</title>
13-
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
12+
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} &middot; {{ .Site.Title }}{{ end }}</title>
13+
14+
{{- $description := .Site.Params.description }}
15+
{{- with .Description }}{{ $description = . }}{{ end }}
16+
{{- if and (not .Description) .IsPage }}{{ with .Summary }}{{ $description = . }}{{ end }}{{ end }}
17+
<meta name="description" content="{{ $description }}">
18+
1419
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
20+
<link rel="canonical" href="{{ .Permalink }}">
21+
22+
<meta property="og:title" content="{{ .Title }}">
23+
<meta property="og:description" content="{{ $description }}">
24+
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}">
25+
<meta property="og:url" content="{{ .Permalink }}">
26+
<meta property="og:site_name" content="{{ .Site.Title }}">
27+
1528
<link rel="stylesheet" href="{{ "css/style.css" | relURL }}">
1629
{{ range .Site.Params.customCSS -}}
1730
<link rel="stylesheet" href="{{ . | relURL }}">

themes/tales/layouts/partials/contact.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{{ if or .Site.Params.github .Site.Params.linkedin .Site.Params.email }}
22
<div class="contact">
3-
<h3>Get In Touch</h3>
3+
<h2>Get In Touch</h2>
44
<ul>
55
{{ with .Site.Params.github }}<li><a href="{{ . }}">GitHub</a></li>{{ end }}
66
{{ with .Site.Params.linkedin }}<li><a href="{{ . }}">LinkedIn</a></li>{{ end }}

themes/tales/static/css/style.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ pre code {
101101
background: none;
102102
}
103103

104+
/* Contact */
105+
.contact a {
106+
display: inline-block;
107+
padding: 8px 0;
108+
}
109+
104110
/* Latest post callout */
105111
.latest-post {
106112
display: flex;

0 commit comments

Comments
 (0)