Your sites Log in Sign up Menu

Questions

Ask a question

Animated GIFs support?

Does Blot support .gif(s) inside the posts? The ones that I added doesn't seem to show correctly.

Question about how Blot works?

In the developer docs it says Check if there is a template whose route matches the request’s path. Render the template if it matches. Check if there is a file which matches the request’s path in your blog’s folder. Send the file as a response if it matches. First I didn't really understand this (me being locked into another model of thinking) but if I've understood things correctly it means that when I link to a page, for example 'archive', it will use the archive template file to see what needs to be done. Questions: What are the "standard" templates that blot expects to see? archives, entries, entry, error, feed, search, tagged?? If a template use partials then it becomes possible to call that partial and it will be rendered. At least this is what I see when I call "head.html" and "header.html" (using the Blog template). Have I understood things correctly?

Image captions are not appearing on my site?

I'm using the reference template and noticed that all my photos that have a caption in the post's source file do not appear with a caption on my site. Is this a known issue?

Improving Reference template on small screens?

Is there any way to ensure that the mobile phone experience is similar to desktops, tablets. I find the margins are completely cut off on mobile so it all looks very tight and ugly.

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!

Replacement text for wikilinks

In Obsidian I often use the vertical bar (|) to change the text used to display a link. For example, [[Internal links|custom display text replacements]] Does this not work in Blot? I’ve been using this and just realised that all my articles have been showing the link and not the text replacements replacement.

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" 😁

Adding a badge to my template's footer?

I would like to add this "Written by human not AI" badge somewhere at the foot of all of my blog posts I can't figure out how to upload a png or svg into the blog source though.

How to change the number of posts on my homepage?

I know that {{recent_entries}} shows 30 posts but how can i have my home page only show the 10 most recent posts?

Share HTML page with custom CSS/JS?

Is there a way to share an html page that is totally standalone from the rest of the site? Like I made a little webpage that is a kind of webtoy, but if I try and share it in one of my blot folders it doesn't work properly because blot renders it within the entry.html stylings etc. (which I understand cos it's rendered in the {{{html}}} block of the template). Is there a workaround to get blot to not render any other html/css/js other than what this html file is telling it to? Or would I have to host it elsewhere and link to it from my blog?

Having problem centering logo?

Although the logo is centered when i click "preview", when the website is fully published it is still stuck on the left corner. Live Website What I see on preview

Multi-file posts syntax?

We plan to add support for merging multiple files into a single post on Blot. My question for you is, what should the syntax be? We need to indicate that a subfolder's files should be merged into a post, rather than become individual posts. Let's say you have a folder full of pictures of your trip to Italy. How should you indicate that instead of individual posts, per image, they should be merged into a single post automatically? A few options which come to mind: (Pictures from Italy) Pictures from Italy (album) Pictures from Italy -- -Pictures from Italy- {Pictures from Italy} Pictures from Italy.post Pictures from Italy > Pictures from Italy @\Pictures from Italy #Pictures from Italy # Pictures from Italy Pictures from Italy & Pictures from Italy + + Pictures from Italy A few constraints: use safe, cross-platform characters make the resulting folder good to look at make it non-language specific if possible (i.e. don't depend on english words) There's more information about multi-file posts on GitHub, but please feel free to share your thoughts here on there. I'm writing the underlying code required for the feature at the moment, and the syntax can be adjusted down the line before release.

Adding day of week to date format?

Is it possible to set the date format of posts so they include the day of the week?

Error checking if page is active in menu ?

When I put the following in my template, I get the error Unclosed section "active} <div class="menu"> {{#menu}} {{#active}} <a href="{{{url}}}" class="light active">{{label}}</a> {{/active}} {{^active}} <p>hello</p> {{/active}} <a href="{{{url}}}" class="light">{{label}}</a> {{/menu}} </div>

Using first frame of a video as preview?

Is there a way to show the first frame (or just any image) of a (local) video (located in the same folder as the .md file) as a preview image rather than just the play icon? This seems to work fine for external video hosted on Youtube, but does not seem to work for video stored in the same folder

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?

"Failed to acquire folder lock"

I've been getting this error when I try to sync Dropbox, change to a different client, or reset my folder, but this message in orange prevents from doing anything. Is there a fix?

Is it possible to hide specific tags from the tag list?

I have tags showing on my archive page and also my main page. I'm experimenting with using tags to help me build a custom RSS feed. I would like to exclude these tags from the Popular Tags list and even from the post itself. Ideally, these tags would be internal for me to use but not visible to the user. Is this possible?

How to password-protect a site?

Is it possible to require a password in order to access a site, or a post.

Adding a copyright statement

Is there a smart way to add a discrete copyright statement (eg. C 2023 XX, all rights reserved) as a footer to all pages? I'm using Diary template. Thanks!

Previous 1 13 14 15 16 17 34 Next