Skip to content

Commit 9fdac1c

Browse files
committed
website: update OG properties
Doesn't look like we can actually get at `page.extra.description` for the blog posts, need to look into that. Also fixes "latest GitHub Releases page" link on the download page.
1 parent d605d01 commit 9fdac1c

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

website/content/download.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ template = "page.html"
55

66
# Downloading Tattoy v{{ include(path='build-vars/version') }}
77

8-
Tattoy has prebuilt binaries for both x86 and ARM architectures on all the 3 major OSs; Linux, MacOS and Windows. They are available on Tattoy's <a href="https://github.com/tattoy-org/tattoy/releases/tag/v{{ include(path='build-vars/version') }}">latest GitHub Releases page</a>.
8+
Tattoy has prebuilt binaries for both x86 and ARM architectures on all the 3 major OSs; Linux, MacOS and Windows. They are available on Tattoy's <a href="https://github.com/tattoy-org/tattoy/releases/tag/tattoy-v{{ include(path='build-vars/version') }}">latest GitHub Releases page</a>.
99

1010
## Distro Packages
1111

website/content/news/2025-07-20-animated-cursors/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ date = 2025-07-20
44
authors = ["Tom Buckley-Houston"]
55
[extra]
66
screenshot = "/assets/screenshots/cursor_blaze_large.webm"
7+
description = "Animated cursors for all terminals"
78
+++
89

910
Tattoy now supports animated cursors. It uses the same format as Ghostty, therefore rendering the cursor using custom shaders.

website/templates/layouts/base.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@
3232
{% set page_title = "Tattoy" %}
3333
{% endif %}
3434

35+
{% if page and page.extras and page.extra.description %}
36+
{% set page_description = page.extra.description %}
37+
{% else %}
38+
{% set page_description = "Tattoy is a text-based terminal compositor" %}
39+
{% endif %}
40+
3541
{% if section and section.path %}
3642
{% set path = "/" ~ section.path %}
3743
{% elif page and page.path %}
@@ -74,11 +80,11 @@
7480
>
7581
<meta
7682
property="og:image"
77-
content="https://tattoy.sh/assets/tattoy_logo.png"
83+
content="https://tattoy.sh/assets/screenshots/logo_full.png"
7884
>
7985
<meta
8086
property="og:description"
81-
content="Tattoy is a text-based terminal compositor"
87+
content="{{ page_description }}"
8288
>
8389
<link rel="shortcut icon" type="image/png" href="/assets/favicon.png">
8490
<link

0 commit comments

Comments
 (0)