From 86a3ef632c4e9c789806bbe902171f9e991eb8cb Mon Sep 17 00:00:00 2001 From: Tom Date: Wed, 28 May 2025 13:02:19 +0200 Subject: [PATCH] Fix mastodon text --- _layouts/post.html | 7 +++++-- _posts/2025-05-26-PyO3-smart-pointers.md | 6 +++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index 1d4acec..00ae638 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -30,9 +30,12 @@ + {% capture default_mastodon_text %} + New blog post: {{ page.title }} - {{page.excerpt}} + {% endcapture %} diff --git a/_posts/2025-05-26-PyO3-smart-pointers.md b/_posts/2025-05-26-PyO3-smart-pointers.md index c77f979..1332f8a 100644 --- a/_posts/2025-05-26-PyO3-smart-pointers.md +++ b/_posts/2025-05-26-PyO3-smart-pointers.md @@ -2,13 +2,17 @@ title: Bind, Borrow, Deref layout: post excerpt: Safely sharing objects between Python and Rust using PyO3 +social_text: | + I'm working on a python package with a rust backend so I wrote a bit about PyO3's model of shared ownership between python and rust. draft: False assets: /assets/blog/pyo3-smart-pointers thumbnail: /assets/blog/pyo3-smart-pointers/thumbnail.svg social_image: /assets/blog/pyo3-smart-pointers/thumbnail.png -alt: An SVG of the text 'Py' with the T in orange. +alt: An image of the text 'Py' with the T in orange. image_class: invertable + + ---