~tsileo/microblog.pub-devel

Fix og:title always being empty on articles v1 APPLIED

João Costa: 1
 Fix og:title always being empty on articles

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~tsileo/microblog.pub-devel/patches/37380/mbox | git am -3
Learn more about email & git

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

---
 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
Hey,

Good catch, I just applied your patch.

Thanks!