Log in Sign up

Default Blog Homepage Template Metadata failure?

Using the default blog template Metadata in my post works as expected eg. {{entry.metadata.title}}

But when looking at the homepage, the title of the post is blank?

Looks like it only fails with the blog template If I preview with all of the other templates it works

8 replies Asked Sep 15 '22 at 15:02 · Improve this question

What is your blog URL?

Answered Sep 19 '22 at 0:04 · Improve this answer

Metadata not displayed here: https://blog.tyro.me/

Metadata displays fine on the actual post: https://blog.tyro.me/2022/09/19/metadata-test-title

Answered Sep 19 '22 at 12:13 · Improve this answer

Looks like it doesn't work on any template:

It doesn't seem to handle circular referencing very well.

I would send this bug to support.

Answered Sep 19 '22 at 22:53 · Improve this answer

How do you send a bug to support?

Answered Sep 19 '22 at 22:59 · Improve this answer

Email: contact@blot.im

Answered Sep 21 '22 at 3:32 · Improve this answer

{{metadata}} is a property of both {{entry}} and {{entries}}. This will work on your index page (entries.html), which loads {{entries}}:

{{#entries}}
...
{{metadata.title}}
...
{{/entries}}

This will work on your permalink page for an entry (entry.html) which loads {{entry}}:

{{#entry}}
...
{{metadata.title}}
...
{{/entry}}

Does that help? Please let me know if you have any questions about this or anything else.

Answered Sep 21 '22 at 13:51 · Improve this answer

So, to make it work on the index page, do I need to fork the blog template and make modifications?

I was hoping to avoid getting into that.

Answered Sep 21 '22 at 14:39 · Improve this answer

Never mind

Answered Sep 21 '22 at 14:42 · Improve this answer

Markdown allowed