Titles of pages in the header
I've set up pages as explained, in a Pages folder, but the titles are not the file names, but rather the first sentence of the files, like a post excerpt.
Why is the time always wrong on every post?
Why is the time always wrong on every post? I have it set to Europe/London in the settings, but if I enable this in the theme on the post, it always displays the wrong time constantly.
Use the first X characters of a post as title?
I have a fairly large number of posts that are imported from other services and have no titles. My first idea to handle this was to use a custom tag and then show "untitled post" for these posts. Unfortunately, it looks really silly on the archive page when there are several "untitled" posts in a row. My second idea to get the first X chars from the post and use that as the title, but is it possible to get the first X chars in some way? And before anyone suggest using the name of the file, my posts are stored in folders with images and are all called "index.md" which means that I get an archive full of "index" which looks even more silly that "untitled post" 😁
Changing background color with metadata?
Hello! Using a custom template here, based on an old version of the Essay template. I'm wondering if there's a way to specify an individual post's background color using Blot metadata. I'm already using the variable bg color in my CSS, but it grabs what color is specified in the template setting. (I'm overriding this on the template's dark mode variant). body { background: {{background_color}}; } What I'd like to do is specify a color in each post's metadata, which then gets loaded in place of that CSS variable. Any help would be much appreciated!
Posts with no title
For some of my entries I want to have a title, for some of them I would prefer not to have one. I modified the Blog template with {{#title}} <h1>{{title}}</h1>{{/title}} and I thought that would solve my problem. I.e. if the post didn't have a title then there would be no title shown, but Blot uses the file name as a title if there is not title in the frontmatter. I tried having an empty title, i.e. title: but then the title became "null". Is it possible to have some entries to have no title?
Adding time or tags to photos?
I posted a photo on my blog. I noticed it set the time to 12:00 am, even though that wasn't the timestamp on the photo. How do I set the time on a jpg? Also can I add a tag to this photo? Thank you!
Is it possible to have commas in tags?
Is there a way of having commas in tags? Tried putting the tag in quote marks and escaping the comma but the terms either side of the comma always get separated out into separate tags. Thanks.
Metadata in markdown links?
Just wondering if there is any way to use metadata tags in markdown links? At the moment this markdown: ` Becomes, this HTML: <img src="/%7B%7Burl%7D%7D_images/picture.jpg" alt="caption"> The brackets just get encoded. Can this be avoided? Or should I just use HTML to start with?
Site-wide custom metadata?
Is there currently a way to replicate Jekyll style site-wide metadata? I am trying to use Blot for my teaching materials and there are several bits of information (deadlines for papers etc) that need to appear in several different entries; being able to define them in a single (yaml/json?) data file and include them in the entry as, for example {{site.metadata.deadline1}} would be really useful. Thanks!
Specifying time in image posts?
When directly posting an image to Blot using the YEAR-MONTH-DAY File Name format, the time is always set to 12:00am. I wish to upload several images over several posts but in a particular order. Is there a method of naming an image file to specify a time (Say, 12:01, 12:02, etc) in order to achieve this?