Log in Sign up

Issue with rendering entry-specific metadata

Hello. Thanks for blot.im. It's peaceful.

I am using the Blog template. I have a Markdown blog post under 001-building-my-own-webpage.md which has some custom metadata (including a Date) and is showing up fine on the website. This is the full metadata:

Menu: No
Tags: Tech, Web Development
Link: building-my-own-webpage
Date: 22-03-2024
Thumbnail: ../imgs/_banner_sgs_right_1.jpeg
Pois: yeah

Here's an extract of my entry.html

<div class="entry">
        {{#entry}}

        {{{html}}}

        {{#tags.length}}
        <div class="wide">
          <hr class="minimal">
        </div>
        <div class="left-label">
          <h5>Tags</h5>

          {{#tags}}
          <a class="small tag" href="/tagged/{{slug}}">{{name}}</a>
          {{/tags}}

        </div>
        {{/tags.length}}

        <div>
          <p>Posted by {{metadata.Date}}</p>
          <p>Posted by {{metadata.Pois}}</p>
        </div>

        {{#date}}
        <hr class="minimal">
        <div class="left-label">
          <h5>Date</h5>
          {{date}}

        </div>
        {{/date}}

While the tags show correctly, nothing else appears at the end of the entry:

Test Image: https://i.imgur.com/Ze9NDVq.png

Other symptoms which suggest something is not correct in entry rendering: RSS feed is empty, Archives > Newest also doesn't show any post.

I feel I'm missing something simple, but can't quite put my finger on what. Let me know what else can help in troubleshooting. Thanks in advance.


10 months ago, 1 replies   metadata   custom   Edit question

Would you mind sending us a link to the post? I'll take a look at the specifics

I'm concerned that a post is appearing on your site but not on your feed. Possibly there's some bug interfering with it. Your template seems sound at first glance

Answered 10 months ago ยท Edit answer