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>
|
||||
|
||||
<!-- 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">
|
||||
New blog post: {{ page.title }} - {{page.excerpt}}
|
||||
<img src = "{{ page.thumbnail | default: page.image}}"
|
||||
{{ page.social_text | default_mastodon_text }}
|
||||
<img src = "{{ page.social_image }}"
|
||||
class = "u-featured"
|
||||
alt="{{page.alt | smartify}}">
|
||||
</div>
|
||||
|
@ -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<T>' with the T in orange.
|
||||
alt: An image of the text 'Py<T>' with the T in orange.
|
||||
image_class: invertable
|
||||
|
||||
|
||||
---
|
||||
|
||||
<section class="note" markdown=1>
|
||||
|
Loading…
x
Reference in New Issue
Block a user