Questions
Slug metadata not working?
Is the Slug metadata field new? I know I've wanted it for a long time and only just now noticed it on the Metadata page. Either way, it is not working as advertised. When I tested it on an old post where I had used the Link field to customize its slug, it just dropped the rest of the Link Format I had defined. Instead of domain.name/path/to/post/slug it loaded as domain.name/slug So it basically functioned the same as the Link field.
Enabling search for pages?
Is there a way to enable search for certain pages? I am talking about "user-defined" pages, i. e. stuff in /Pages or with Page: yes, not something like the archives page. Posts work perfectly, but pages, no matter whether they are stored inside or outside of /Pages, do not work, even with the following metadata: Search: yes Is this supposed to work somehow? Considering quite a few people use Blot for / as their "digital garden" / notes / information store, being able to search these pages would be very helpful.
Showing the most recent entry with a tag?
I'm trying to display the first post in a custom page "writings.html" but if I use the {{#first}} it doesn't show anything. Could you help me? {{#allEntries}} {{#tagged.Writings}} {{#first}} <header class=" centered-content"> <a href="{{url}}"><h1>{{title}}</h1></a> <span class="date"> {{#formatDate}} Do MMM YYYY {{/formatDate}} </span> </header> <section class="writings centered-content"> {{{body}}} </section> {{/first}} {{/tagged.Writings}} {{/allEntries}}
Is it possible to connect Lightbox Gallery?
I really want to connect the gallery with a grid, for example "lightGallery". I've spent a lot of time trying to embed the gallery, gone through dozens of options, and all possible combinations, nothing works. As if something is blocking or not loading scripts and styles. Maybe the structure in the template is different from the usual one, or I'm doing something wrong. The example is for the Magazine template. Did I understand the structure correctly: "Index.html" is → "header.html" The "head" element, which is usually at the beginning of "Index.html" (header.html), is here a separate file → "head.html". The "body" element, which is usually in the middle of "Index.html" (header.html), is also a separate file → "footer.html". It follows that to "head.html" I add references to the styles (which I created separately in the directory), for example at the beginning, after "meta". Next, I add the script to "footer.html", also at the beginning. Then I add a link to the photo to the document I created in Google Drive, as indicated on the sites of gallery developers (although in their examples, the gallery is placed in the "body"). But nothing works, styles and scripts do not work at all, static images are displayed in a column, when clicking on them, it displays an error that there is no such page. I usually add styles in css-layout.css and for everything else it works, sometimes up to css-theme.css. If you need to add scripts - I add to script.js, it also works for others. But galleries usually require separate large stylesheets and scripts. Did I understand the structure correctly? Is it even possible to create a gallery similar to "lightGallery" or is my attempt futile? Maybe the template has restrictions on connecting individual js and css files? Maybe I'm adding the code in the wrong place, or in the wrong format to accept the template? Or do you need to add links to files only at the beginning / at the end of the file / or after a certain time? All I need for happiness is a gallery with a grid, with the possibility of clicking on a photo, then displaying it in its original size, as well as switching to neighboring ones with the help of arrows. Like a small wish, but something completely impossible. I will be grateful for tips, help, links to working versions of the galleries.
Embedding the file's updated date?
Is there something I could put into the markdown of an entry to get the Updated date for that entry? I know I could maintain a date in the metadata, but I was wonder if there is some tag or whatever I could use to have that date automatically set with the last save date of the markdown file.
Does Blot supports heavy amounts of traffic?
Hi! Wondering if Blot works fine if a site is expected to receive a heavy amount of traffic
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?
Change the number of posts on the blog page?
Is it possible to adjust the number of posts to show on the blog posts page? For example, I want to show a link to "Older" posts less often.
How to display the day of publication?
I have a template that presents entries by month and in that {{month}} {{year}} metadata works. But for each blog entry I want to include the day the blog was published. So if it was publised on the 20/4/2024 then just 20 would be returned. {{day}} would seem the logical construct but it does not work. I also can't find in the documentation where it says {{month}} & {{year}} are up to be used - if I could find that list, hopefully it might shed more light on all this. Thanks as ever.
Specific Tag Views?
Is there a way to creat specific views that the blog engine will access when a visitor goes to a /tagged/keyword url? Example. I’d love to be able to make a tagged-photos.html view with specific markup and have the blog engine know to load this when someone goes to the /tagged/photos url. If a tag specific view does not exist, the default tagged.html would be used. I know I can make a view, filter it on a specific tag, and then bind that view to a specific short url /photos through the json file, but I’m wondering if there’s a more fluid/less clunky way.
Custom meta in feed.rss?
I've added custom meta to feed.rss without an issue before, but my recent attempt isn't working quite right. {{#metadata}} <figure> <figcaption>Listen:</figcaption> <audio controls src="{{audio}}"></audio> <a href="{{audio}}">Download audio</a> </figure> {{/metadata}} Where {{audio}} = the MP3's URL. The audio player is showing in the feed even when posts do not have {{audio}} custom meta data. Any suggestions?
RSS feeds per tag?
Apologies if it's been asked but are there (or can there be?) dedicated RSS feeds per tag? It would be nice to have these split out to triage posts out to different services automatically.
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?
Pages now showing up as Posts and in RSS feed?
I have a directory with in Pages with no tags set in the YAML for my newsletter. I've never had a newsletter show up in the RSS feed before, but today the latest one suddenly did. Are Pages supposed to show up in the RSS feed, or was this a bug? I can add a tag to prevent the behavior in the future, but wanted to know before adding something unnecessarily.
Date format not being respected
I've noticed that the date format I've set in 'Analytics, comments, typography > Date and time' is not being respected. I have it set to 'Day-Month-Year', but posts on my site are still presented with the date in 'Month Day, Year'. Can anyone give me an idea what I should be looking for in the source code that defines the date format? (I realise this will be somewhat template-dependent, and I've modified mine so much over the years that I honestly forget which it was originally forked from, Rosa maybe?)
Adding ai.txt to my site?
Where would one put an ai.txt file on their site? Spawning.ai says to put it on the "root" of you website? Is that just the home folder of my site in dropbox? Thanks! https://spawning.ai/ai-txt