~tsileo/microblog.pub-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] Fix og:title always being empty on articles

João Costa <jdpc557@gmail.com>
Details
Message ID
<20221206172410.1638-1-jdpc557@gmail.com>
DKIM signature
missing
Download raw message
Patch: +1 -1
---
 app/templates/object.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/templates/object.html b/app/templates/object.html
index 6d4f920..d89accb 100644
--- a/app/templates/object.html
+++ b/app/templates/object.html
@@ -15,7 +15,7 @@
<meta content="article" property="og:type" />
<meta content="{{ outbox_object.url }}" property="og:url" />
<meta content="{{ local_actor.display_name }}'s microblog" property="og:site_name" />
<meta content="{% if outbox_object.name %}{{ name }}{% else %}Note{% endif %}" property="og:title" />
<meta content="{% if outbox_object.name %}{{ outbox_object.name }}{% else %}Note{% endif %}" property="og:title" />
<meta content="{{ excerpt }}" property="og:description" />
<meta content="{{ local_actor.icon_url }}" property="og:image" />
<meta content="summary" property="twitter:card" />
-- 
2.38.1.windows.1
Details
Message ID
<83bdd138-6c2a-43d0-bc07-02c5befb8d08@app.fastmail.com>
In-Reply-To
<20221206172410.1638-1-jdpc557@gmail.com> (view parent)
DKIM signature
missing
Download raw message
Hey,

Good catch, I just applied your patch.

Thanks!
Reply to thread Export thread (mbox)