Log in Sign up

Metadata

39 questions tagged ‘Metadata’

Sorting the posts in a [tagged] folder?

I have a bunch of images from a trip to Bali in a folder tagged [Bali]. I tried adding a markdown file in the same folder (tagged "Bali" in the meta data) in order to add a headline and some textual information. It is actually rendered, however, only at the end of the page underneath the images. Is there a way to push the text from the markdown file to the top of the page? I tried changing the date to be more recent than the images, but images seem to automatically have render priority.

Is it possible for a post's URL to be different from the post's title?

For example, a post title (and file name) is foo. Can the post URL be mysite.com/bar?

Use the first picture instead of the video as thumbnail?

If the post contains a video, the image from it is displayed as the cover of the post, regardless of the size of the other images. Please tell me how to choose the first picture in the post for the thumbnail. And also how do I mark the borders of the text, for display near the cover. I found a discussion on this topic but couldn't apply it to my template.

Timezone support in date metadata?

My posts used to have timezones ("EDT", "EST", etc.) in the timestamps, but now they're all UTC. How can I make Blot recognize timezone ("z") again? Thank you.

Can I organize nested tags then scheduled/published date with folder structure?

Like [Main Tag] [Sub Tag] 2023 > 09 > 20 > My Scheduled Blog Post with Folder Tags.md ?

Featured Sticky Posts are paginated?

I love the ability to feature posts and make them sticky through custom metadata which I've added to my template e.g. Sticky: yes Rest of post here... However, one issue I've found is that pagination unsticks the posts. As soon as they have gone off of the front page, they are no longer sticky. Is there any way to change this? Thanks!

Author and keyword metadata?

I tried using the author and keyword metadata in my post. For some reason, it wasn't displaying on the published post. I am wondering if that's how it is supposed to be. Here is a sample format: Date: June 26, 2023 Tags: Style Keywords: summer essentials, style, dress, woven bag, sunscreen, sunglasses Author: anchor

How would I include the page summary in the post body?

So I always create a summary for every post, this is within the front matter of each post and is used for the description with the HTML meta. I also use this summary as a line of intro text for every post. At the moment, I copy/paste the summary into the body of the post, but it would be nice if this was rendered automatically at build. I've tried including {{{summary}}} in the body, but it doesn't render. How would I get the summary to render in my posts?

Hide or show certain sections depending on metadata?

I'm wondering if there's a simple way to hide a section from a page template if a certain metadata is specified. A bit like with Menu: No which hides a page from the navbar. I'd like to create a Hero Image: No which would disable the top image on a blog post. Your help is much appreciated :)

Sticky posts in Magazine template

I'm trying to figure out a way to make a post "sticky" or have some sort of Featured post that stays at the top of my Home page, and I'm struggling. I had found a question asking this about the Blog template and it was working fine when that was the only post on my site. Now that I've added more posts, though, the Sticky post is just having a plain hyperlink of its title displayed at the top of the page rather than the full width post I was seeing before. Is there any way to do this and have it work consistently on the Magazine template?

Newsletter
Get updates on Blot’s latest features and changes. Delivered every three months.