mirror of
https://github.com/TomHodson/tomhodson.github.com.git
synced 2025-06-26 10:01:18 +02:00
Fix mastodon text
This commit is contained in:
parent
365df899c7
commit
86a3ef632c
@ -30,9 +30,12 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- Hidden content to control how this gets posted to Mastodon -->
|
<!-- Hidden content to control how this gets posted to Mastodon -->
|
||||||
|
{% capture default_mastodon_text %}
|
||||||
|
New blog post: {{ page.title }} - {{page.excerpt}}
|
||||||
|
{% endcapture %}
|
||||||
<div class="e-bridgy-mastodon-content hidden">
|
<div class="e-bridgy-mastodon-content hidden">
|
||||||
New blog post: {{ page.title }} - {{page.excerpt}}
|
{{ page.social_text | default_mastodon_text }}
|
||||||
<img src = "{{ page.thumbnail | default: page.image}}"
|
<img src = "{{ page.social_image }}"
|
||||||
class = "u-featured"
|
class = "u-featured"
|
||||||
alt="{{page.alt | smartify}}">
|
alt="{{page.alt | smartify}}">
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,13 +2,17 @@
|
|||||||
title: Bind, Borrow, Deref
|
title: Bind, Borrow, Deref
|
||||||
layout: post
|
layout: post
|
||||||
excerpt: Safely sharing objects between Python and Rust using PyO3
|
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
|
draft: False
|
||||||
|
|
||||||
assets: /assets/blog/pyo3-smart-pointers
|
assets: /assets/blog/pyo3-smart-pointers
|
||||||
thumbnail: /assets/blog/pyo3-smart-pointers/thumbnail.svg
|
thumbnail: /assets/blog/pyo3-smart-pointers/thumbnail.svg
|
||||||
social_image: /assets/blog/pyo3-smart-pointers/thumbnail.png
|
social_image: /assets/blog/pyo3-smart-pointers/thumbnail.png
|
||||||
alt: An SVG of the text 'Py<T>' with the T in orange.
|
alt: An image of the text 'Py<T>' with the T in orange.
|
||||||
image_class: invertable
|
image_class: invertable
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<section class="note" markdown=1>
|
<section class="note" markdown=1>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user