Log in Sign up

Questions

Ask question

Use relative dates on a specific page?

I'm creating a custom archives.html of sorts. When using {{date}}, is there any way to get it to display as relative? I'd only like to do so on this one specific page.

Shopify store inside Blot

Has anyone integrated a Shopify store into Blot?

  inside code block isn't being encoded

If I put an e.g.   literal string inside a code fence: myString.replace(" ", "") That renders literally as a space, so I need to manually encode the ampersand  : myString.replace(" ", "") Then Blot actually renders encoded characters vs a literal non-breaking space. Perhaps it's an issue of properly handling ampersands?

github?

Has anyone found a way to sync the git connector with a github repo?

Komments integration?

I'm thinking of switching from Commento to Komments to save money. For now that would mean having to create a Komments URL for each post by hand. Is there a chance you might integrate it as an additional options for comments, so that every new post would automatically create a corresponding Komments URL? Apparently that should be possible via the API.

CSS Source order changed by compression?

I wrote a couple styles inside a prefers-color-scheme: dark media query. My selectors have the same specificity, but are placed below the styles for the regular light mode. Somehow this ends up in a different source order on the web, making my intended dark mode styles not taking precedence. Is it possible that some server-side minification mixes up the source order of my selectors?

Bug with disabling template?

Hi there, I'm trying to take my site offline for a bit so I can work on it. I used to be able to just disable the template but when I click that it says that the template is disabled but the website is still active. Thanks for your help!

robots noindex

Hi. I haven't played around with my Blot website for a while and don't currently want it appearing in search results while I work on another project. I'm using a customized version of the diary template. In the head.html file in my Dropbox Templates/diary folder, I've added the line <meta name="robots" content="noindex"> within the <head> </head> tags (and not commented out). But it's not appearing in the rendered HTML. I know from the question that I'm doing somethings stupid: can you tell me what? Thanks!

Google Docs Markdown Support

This isn't a question, but I thought folks should be aware of the new markdown import/export capability in Google Docs. This seems like it could be useful to some Blot users who rely on Google Drive for sync.

Images Paths

In the past when I create a draft I would put the post image in my main root Media folder that way when I moved the draft to the publish folder i did not have to change the image path. Recently its not working or I have formatted something incorrectly that I can not see The new console view shows Dependencies: /drafts/⁨_Media/bag.jpeg, My structure is as follows: Apps Blot Media Drafts Pages Posts 2024 2023 So my draft post references the path to the main root _Media file I have tried the following using standard MD image format starting with [ ] (⁨_Media/sample.jpeg)(⁨Blot/_Media/sample.jpeg)(⁨apps/Blot/_Media/sample.jpeg)(/⁨apps/Blot/_Media/sample.jpeg) Can you please point out what i am not seeing thanks

Thumbnail image disappears from post/page after updating the original text file

A weird behaviour happens with large thumbnails for posts and pages. Take this test post for example. Here is the metadata included in the file txt file : Date: 26/05/2024 Summary: Du travail d'escroc Thumbnail: https://res.cloudinary.com/poirpom/image/upload/v1717446275/Tests/240603-9.jpg Slug: /encore-un-blog-post and here is the HTML code from the entry.html template : <div style="min-height:6rem;flex-direction:row;align-items:center;" class="flex mt3 pt3 "> <div class="w-100" style="margin-bottom: 2rem !important;"> <!-- Code supprimé et stocké dans FSnotes --> <div class="w-80"> <!-- suppression du pr4 --> <div class="hero"> {{{titleTag}}} <img src="{{{thumbnail.large.url}}}" style="min-width: 100%;min-height: 2px;background-color: #1D191E;margin-top: 20px;" /> <div class="summary">{{{summary}}} </div> </div> <div class="lh-copy" style="margin-top: 10px !important; text-align: right !important;"> <!-- bloc date et tags déplacés --> {{^page}} {{#date}}<a href="{{url}}" class="black-30 f5 no-underline"><span>{{#formatDate}}DD.MM.YYYY{{/formatDate}}</span></a>{{/date}} • <span class="black-50 f5">{{#tags}}<a href="/tagged/{{slug}}" class="no-underline">{{tag}}</a>{{^last}}, {{/last}}{{/tags}}</span> <!-- <hr class="intermediaire" /> --> {{/page}} </div> </div> </div> </div> I published the post — the thumbnail appeared just fine. if, for some reason, I update the text file of the post, save it, wait for blot to do its thing, then the thumbnail doesn't appear anymore on the page. Same happen with any blog post or any page. Each time I edit the content, thumbnail doesn't show up anymore. When I look at the inspector, src appears in the html code, but without any url (screenshot here). The only way i found to make the thumbnail image appear again is to regenerate all thumbnails through the reset your folder settings. (Which is no big deal, but kind of annoying). Is there something I am missing or doing wrong here ? Thanks in advance for any advice.

Is the analytics option broken?

Recently, I setup a new site and tried to enable analytics using CloudFlare. I followed the simple instructions and added the correct id. Had this setup for about a week before I realized I wasn't getting any data upon repeated testing. Figured it might be an issue related to Cloudflare, so I figured I'd then try google to see if that worked. New analytics v4 id in place, but google is reporting that the tag isn't detected. Double checked the pages source and things look correct. I verified this similarly with CloudFlare and it was there in the source as well. Help? Site is videostorecowboy.com

Link to latest post

Hello! I have a page with an image. How can I add a link that always points to the latest post?

How to manage files after switching from Drive to Dropbox

I've moved my site's synced folder from Google Docs stored in Google Drive to markdown files in Dropbox. Putting markdown files into Dropbox is working just fine - they are rendering on the site. And our old posts are also still rendering on the site, which is also great. However I can't figure out how we might edit / delete those old posts - the Drive folder is disconnected, but they aren't in the Dropbox folder either. How can we do some file management there? Ideally I'd be able to replace the GDoc originally published with a markdown file with the same url slug metadata into Dropbox.

Org-mode links to other Org files?

In emacs, I can auto-fill the [[file:...]] style link from a set of known files. The problem is when linking to org-mode files, it looks something like [[file:foo.org]] but this doesn't work with blot's internal linking system. So I have to remove the .org to something like [[file:foo]] which does work with blot. The problem now is that org-follow-link does not resolve without the missing extension.

Adding a tag-based indictor after {{Previous}} and {{Next}}

I use the following on the archives page to put a unicode arrow after a linkpost: <div class="column left"> <a href="{{{url}}}">{{title}} {{#tagged.linkpost}} ⇾ {{/tagged.linkpost}} </a> </div> I tried to use the same method within the Next and Previous sections shown below, but it showed the unicode arrow next to every post. My guess is that it's getting the Next/Previous values at pageload, but may not have visiblity to the tags for those entries to be able to handle what I'm trying to accomplish in the Previous and Next area. Is it possible? <div class="column rightpostfooter"> {{#tags}} <a class="small tag" href="/tagged/{{slug}}">{{name}}  </a> {{/tags}}<br> {{#date}} <span class="small">{{date}}</span> {{/date}}<br> {{#next}} <a class="link" href="{{{url}}}"><span class="smalllink">{{title}}</span></a> {{/next}}<br> {{#previous}} <a class="link" href="{{{url}}}"><span class="smalllink">{{title}}</span></a> {{/previous}}<br> </div>