Your sites Log in Sign up Menu

Questions

Ask a question

Remove certain tagged posts from #next

Hello. I have this block of code in entry.html. Is it possible to not show posts with a certain tag inside of next? {{#next}} <div class="up-next"> <p class="small small-caps last-updated">up next</p> {{#thumbnail.medium}} <div class="up-next-thumbnail"> <img src="{{{url}}}" width="256px"> </div> {{/thumbnail.medium}} <a href="{{{url}}}">{{title}}</a> <p class="up-next-summary">{{summary}}…</p> </div> {{/next}}

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: yesIs 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.

Dropbox not syncing?

I've made a few file changes in Dropbox that the client is happily picking up but for some reason Blot doesn't appear to be syncing so my site isn't being updated. The status page doesn't show anything and neither does the dashboard. Anyone else seeing this?

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?

Remove capital letters from article titles?

What to change in the template, in which file and which values, so that every word in the article titles does not start with a capital letter. I want either an exact reproduction of the letters as in the document, or that only the first letter should be capitalized, as in a normal sentence.

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.

What have you made with Blot?

Anyone care to share the URLs to their Blot blogs here? I know David has a few listed in examples on the front page, but I'm sure there's many more. Would love to see others to follow (and gain inspiration!)... Here's mine: Along the Ray: https://alongtheray.com

1 2 3 4 32 Next
Privacy Terms