Questions
Question search not working?
I was just looking to see if there's been an update on the potential improvements to search, but it seems that the search field on this site is broken. If I search for any query, nothing happens. I've tried in Safari, Firefox and Edge on MacOS Ventura 13.5.2.
How to show a YouTube fullscreen player when I click a youtube url?
I want to show a YouTube video just like the Blot introduction video.
How to make images appear larger on the entry page in Portfolio template?
I'd like my images to appear larger on the screen when one clicks on them from the grid. I'm using the portfolio template, and couldn't achieve the result by playing with any of the template edit sliders. The images themselves are quite large (2000x long edge) and opening them in a new tab shows them much larger than they are on the entry page. I also tried uploading full-resolution 6000x4000 images and their size did not change. Thanks
Changing the color of links on the Magazine template?
I'm using a magazine template for my content. But I've noticed that when I add a link, the text color doesn't change even though the text gets underlined. I want the linked text to have a different color so readers can easily see it's a clickable link to another page or website. How can I make that happen?
How can I display my Site Title alone as the Title for my homepage?
This is the most trivial thing, however, I have a homepage set with the metadata: Permalink: /and no matter whether or not I include (blank) Title: metadata, the page's title (in a browser tab) displays as '- [Site Title]'. All my other pages display as '[Page Title] - [Site Title]', so I get that this is the page looking for a page title, not finding one, but leaving in the hyphen delimiter. Is there a way to stop it doing that, and just display the [Site Title]? I can do it site wide by taking the '>' out of this line in head.html: <title>{{> title}}</title>, but that makes the title of every other page look weird. Any and all suggestions appreciated.
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?
Referencing a link to the current page while writing it?
Is there a way to reference the current page's URL while writing the post? I'd like to be able to create visible anchor links while I'm writing, but don't know of an easy way to include the post's URL. I know that you can put {#anchor-link-name} on a line to create an anchor link so that https://domain.com/path/#anchor-link-name will bring you to that line. I also know that if I use just a leading slash, it will append the slug to my base domain. i.e. [linked text](/some-slug] will automatically point to https://mydomain.com/some-slug. But how do include the path part before the post is published? Here's my idea: two leading slashes to indicate it should include the page's full URL and then append whatever is referenced to the end of that. That way, when writing, I could just put this text [🔗](//#anchor-link-name) {#anchor-link-name} next to a heading, and I'd get a visible bit of hypertext (the emoji) that links to a particular part of the very page its on. The full thing: ## A super cool heading [🔗](//#super-cool-heading) {#super-cool-heading} Or is there an existing way to accomplish the same thing?
Does Blot support Google Docs?
I've set up my blog with my URL and connected to Google Drive. My dashboard shows the test posts I've made and I can view them when i click directly on the dashboard links (however, metadata is displayed in plain text) The front page shows the blog template, but the test posts do not populate to the blog - it's just blank.
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?
Display posts by tags or category
Is it possible to display posts by tags or a single category per post, so that I could have an archive with headings, something like this: Apples This is a post title, January 1st 2021 An earlier post, December 20th, 2020 Oranges My latest post about oranges, June 5th, 2021 …
Changing the summary text?
You say that the summary: "Defaults to the text of the first sentence of the first paragraph in the file." If the first paragraph is shorter than the maximum summary length, then the summary is continuing after the first paragraph. I would like to use the Magazine template and craft summaries that fit in the available space, so have a paragraph break after my summary.
Backlinks don't seem to work in Magazine template?
I'm trying to replace latest links in entry.html to backlinks, i.e.: {{#backlinks}} <a href="{{{url}}}" class=" dim no-underline db pv2 bt b--black-10" style="position:relative"> <span class="w-10 fr db" style="background: no-repeat url({{thumbnail.medium.url}}) 0 0 / cover"> <span class=" db" style="height:0;padding-bottom:100%;overflow:hidden"> </span> </span> <span class="fl w-80 db black-80 flex" style="display: flex; flex-direction: column; justify-content: center;"><span >{{title}}</span></span> <span class="cf"></span> </a> {{/backlinks}} I replaced {{#recent_entries}} with {{#backlinks}} in above but nothing shows. I can confirm backlinks code works fine on blog template. Can you help sort this? This is on my "commons" blot account. I have templates disabled when I'm not hacking away on it to keep bots/folks from browsing it so you'll want to enable it and set use template to Copy of Magazine. (For some reason whenever I disable templates and turn it back on it always defaults to blog template so I have to switch it to magazine each time. Could be a bug?) For an example blog page with backlinks look for the "snippets" one.
Trouble with a page on my template?
I'm having some trouble with my /now page. It's stuck showing the content from a now.html file that is no longer in my Blot folder. I want it to load from the now.md file in my Pages folder. Also, appending ?source=true to the URL to see the source content doesn't work. I've tried rebuilding my posts and pages from the Reset menu, but no dice.
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?
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!
Reverse the order of entries?
Is it possible to list {{#allEntries}} in reverse order—oldest at the top; newest at the bottom?
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.
Image captions within a post?
I swear this used to give me an image and an image caption inside a post:  But now I only get the image and no caption. I'm using the blog template. Has something changed or do I have my markdown wrong?
Newsletter
Get updates on Blot’s latest features and changes. Delivered every three months.