Questions
Can I set a default blog post to display when people go to my blog site?
I would like a specific blog post to be the default home page of my blog, so that I have a consistent single welcome page. Is this possible?
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.
Org-Mode image syntax?
How would I use an image in an org-mode file. Traditionally, I'd do something like [[file:clock.png][clock]] but it seems like that's not working.
Issue with rendering entry-specific metadata
Hello. Thanks for blot.im. It's peaceful. I am using the Blog template. I have a Markdown blog post under 001-building-my-own-webpage.md which has some custom metadata (including a Date) and is showing up fine on the website. This is the full metadata: Menu: No Tags: Tech, Web Development Link: building-my-own-webpage Date: 22-03-2024 Thumbnail: ../imgs/_banner_sgs_right_1.jpeg Pois: yeah Here's an extract of my entry.html <div class="entry"> {{#entry}} {{{html}}} {{#tags.length}} <div class="wide"> <hr class="minimal"> </div> <div class="left-label"> <h5>Tags</h5> {{#tags}} <a class="small tag" href="/tagged/{{slug}}">{{name}}</a> {{/tags}} </div> {{/tags.length}} <div> <p>Posted by {{metadata.Date}}</p> <p>Posted by {{metadata.Pois}}</p> </div> {{#date}} <hr class="minimal"> <div class="left-label"> <h5>Date</h5> {{date}} </div> {{/date}} While the tags show correctly, nothing else appears at the end of the entry: Image: https://i.imgur.com/Ze9NDVq.png Other symptoms which suggest something is not correct in entry rendering: RSS feed is empty, Archives > Newest also doesn't show any post. I feel I'm missing something simple, but can't quite put my finger on what. Let me know what else can help in troubleshooting. Thanks in advance.
How to insert an image using Markdown?
I'm learning Markdown and use Dillinger as my Markdown Editor. I've followed the instructions on how to embed an image but it's not displaying so I must be doing this wrong. Here's my process: -Images saved in folder in the 'Pages' folder, names start with an underscore so they don't appear as individual posts -Input the following text ! [brief description] (_name of file.jpeg) When I preview the blog, I see the Markdown text, no image. Any clue where I am going wrong? I wasn't sure whether to insert the whole path name in the brackets or just the file name. I have tried both, same result.
Analytics not working?
Analytics tracking doesn't seem to work? I tried selecting Heap and entering the ID and full script but neither work?
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.
Can't delete blog?
I wanted to delete one of my blogs but ran into an error "Could not process your request" after clicking the delete button.
How to manipulate "folder" as my template?
As David said, the folder "is a self-contained stand-alone site. If you download this folder and place its contents in your own site’s folder, you will get the same site." How can I use folder as template for my site on Blot if I can't upload the source code? Should I copy&paste what I want into my current template?
How do you generate a sitemap.xml?
How do you generate a sitemap.xml to add to Google Search Console?
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}}
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.
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.