Questions
How to insert an image?
I am learning Markdown and today I tried to add an image but it went pear shaped. I looked up the basic code for adding image but I cannot get it to work. It will be a local image on my drive.
Cloning entries.html?
Is it possible to clone entries.html by creating a new file in the template, naming it 'blurbs.html' and copy/pasting the code from entries.html? I would also change what appears in the entries vs blurbs pages based on tags. I'm just not clear if this behavior is supported. I have seem other posts doing a similar thing with tagged pages, but the format hoping to achieve for blurbs is just like entries.html where those posts only show up when you visit the /blurb URL.
Search using "AND" not "OR"?
If I search for a phrase (multiple words), the results seem to include posts with either word rather than both/all words. I would prefer the search use AND not OR by default (without something like typing "AND" in the query). Is there any way to change the behavior? Currently, the results get very "noisy" because many of the results aren't relevant. Thanks.
Need to resize image
I'm trying to format the height of my image. Is there a way to do this in the existing markdown file or do I have to translate my markdown to HTML in order for my "img" tag to work? Or is there some other way within Markdown to specify an image size? Or perhaps you would recommend adding an ID to the image and then modifying size via CSS?
How to avoid showing the hamburger?
Hi! I'm using the Photo template, how can I avoid showing the menu nav hidden under the hamburger on mobile? And keep showing the links as I don't have too many. Thanks!
Thumbnails not working on Google Drive?
I upload images in Google Drive but instead of the thumbnail to appear in Photo template, it appears a number "1"
Template Sharing URL change?
If I share my current active template, does the URL break if I make additional changes to the template after the Share is initiated?
Compatibility with Dropbox macOS File Provider changes?
I've been getting prompted for weeks/months to apply an update/upgrade on my macOS Dropbox install: https://help.dropbox.com/installs/macos-support-for-expected-changes Among other things, it changes the Dropbox location to ~/Library/CloudStorage which will surely break some local tooling I have and can probably be resolved by symlinking it back to ~/Dropbox. Are there any other concerns with applying this update other than the logical place all the files live?
RSS feed title customization for specific tags?
I use the below code for putting a unicode arrow after a title on the archives page for linkposts. Is it possible to add a similar customization to the feed.rss template so that the title would get the arrow in RSS reader apps? I want folks consuming the RSS feed to know there's a linked post to go read beyond my comments. I also have a YAML value for linkpost, if that somehow works better for this use case than the tag value. {{#allEntries}} <div class="row"> <div class="column left"> <a href="{{{url}}}">{{title}} {{#tagged.linkpost}} ⇾ {{/tagged.linkpost}} </a> </div> <div class="column right"> <span class="smalldate">{{date}}</span> </div> </div> {{/allEntries}}
Change to directory name in Dropbox > Apps behind the scenes?
Is anyone else seeing that the directory in Dropbox > Apps is no longer named Blot, but is now named with the site name? I don't know when this changed, but could cause some issues for hard-coded scripts if folks have any of those. My dashboard still shows the following, but this could just be a bad artifact from the change. I don't mind it, personally, but thought I'd ask and surface the change here in case it caused any breakage for users: Dropbox > Apps > Blot
OneDrive Client?
Some time ago I believe it was planned to add OneDrive as a client along with Dropbox and Git. I see now that Google Drive is planned. Is OneDrive still being considered as a future client? Thank you.
Hide specific posts in Previous section?
Is it possible to remove irrelevant posts that have different tag variables in the Previous and Next post sections? For instance, a post with the tag "dog" should not display any posts with the tag "cat" in the Previous section. Here is my current solution: {{#tagged.dog}} {{^tagged.cat}} {{previous}} {{/tagged.cat}} {{/tagged.dog}} However, this only solves half of the problem. If the previous post had the "cat" tag, then there will be a blank space in the Previous section. This is because it is a linear filter rather than an iteration loop. I'm looking for a better approach that not only blocks out irrelevant posts but also shows previous posts with the same tag.
Is there a Mustache template key for the request URL path available?
I'm looking to integrate GoatCounter's tracking pixel: https://www.goatcounter.com/help/pixel Per their docs, this looks like: <img src="https://MYCODE.goatcounter.com/count?p=/url-goes-here"> I'd like to be able to use Blot's existing templating logic to do something like: <img src="https://MYCODE.goatcounter.com/count?p=/{{req.url.path}}">
Favicon and RSS feed icon?
Should the image being used as the favicon show up as the icon in an RSS reader app? In my RSS reader app, when I subscribe to my site, the placeholder is just the default "T" on a color background that the app uses for feeds that don't have a specified icon. Wondering if I need to set this explicitly in the feed.rss file in my template.
{{last}} is not defined inside {{archives}}
I know {{^last}}{{/last}} does work on Blot in principle, considering this question. However, it does not seem to work with {{#entries}}, even though some templates try to make use of it. Specifically, I am talking about the "Index" template, which tries to do the following on its archives.html part: {{#entries}} <a class="archive" href="{{{url}}}">{{title}}</a>{{^last}} · {{/last}} {{/entries}} In case of three posts in a single month, e. g. "abc", "def" and "ghi", I would expect the following to appear on the archives page: abc · def · ghi However, the {{^last}}{{/last}} block never seems to be executed, which leaves me with: abc def ghi (The spaces are probably added because of the line break in the HTML code.) I suspect that the items of {{#entries}} do not even have a last-property, which is why Mustache evaluates it to "false" (for all items)? Or is there some other problem? This happens with a freshly forked "Index" template, so I think it should work out of the box.
How to embed audio in a post?
Just wondering if there is a way to publish audio, say an mp3 file for a podcast, in a post.
Broken link to developer documentation?
Hello, I'm trying to create a custom template, but some documentation seems to be missing: https://blot.im/developers/reference
Newsletter
Get updates on Blot’s latest features and changes. Delivered every three months.