Questions
Will changing link format break things?
For the past few years I've been using a {{YYYY}}/{{M}}/{{slug}} format for my links. I'm reconsidering not having that leading 0 for the month. What will happen to old posts if I change it to {{YYYY}}/{{MM}}/{{slug}}?
Mysterious latex problems?
I am working on a post with some latex equations. They look great and everything, but when there is a latex error of some kind it fails silently, and prevents changes from reflecting in my post. Tracing down an error is a lot of work, but I isolated a few of them, and now that I've traced the problems, I am completely baffled. Very mundane things like adding () around something can cause it to fail, and I can't figure out why. For example I have a line $$A_{ij}$$ contains $$(X_{i,c}W_{c,0})X$$. which apparently works fine because the page renders, but if I change it to $$A_{ij}$$ contains $$(X_{i,c}W_{c,0})(X)$$. then all changes I make to the document are blocked, and aren't reflected until I remove the surrounding () from X. Another problematic snippet is The resulting attention matrix is $$ A = XW^Q W^K^\intercal X^\intercal $$ Which renders the middle W^K correctly, but everything else is left as plain text.. Then if I include the subsequent paragraph, again, changes are blocked. While this is easy to lay out, it is very difficult to interpret. The meaning of each barcode depends entirely on which other barcodes are present, so the meaning of $$W^Q$$ and $$W^K$$ can't be nailed down without context. But if I remove it I can make changes again (but the proceeding equation still renders wrong) I can't reproduce any of these issues with my own local latex environments, and I've tried all kinds of variations to figure out what is wrong. Does anyone know what is going on?
The +Add new link button is broken for me
https://blot.im/sites/mysitename/template/magazine/links Won't let me add a new link. Not sure if I need to add the link through my pages folder instead, just trying to add a link to my main site. Thanks!
Unable to add new links to the site's menu
The "+Add new link" button doesn't work. It has a "#!" href but no event listener so nothing happens.
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?
Could you describe how the package.json works?
Was just looking around this evening trying to figure out how the package.json works and not really sure i understand what is going on. for instance it seems to have "locals", "partials", and "url" available under "views". Is that it? Also it appears that you can set up stuff that will show up in the template editor via package.json. How does that work? Also, curious how partials work in the context of views (pages). I see in the latest templates you're always referencing them as {{>partialname}} but in some the older templates they are referenced either as partials or as variables. (was fooling with Marfa). Can it work either way as it seems it can and its just a convention thing? Sorry a lot of questions :) But I'd love a more in-depth idea of how everything fits together in that file.
RSS Feed: Template error after making changes (and also after reverting)
To change the URL of my RSS feed to /rss I renamed the template from feed.rss to rss and adjusted the link inside the template. This didn't work and just gave me an Error with your template when visiting the /rss route. So I changed it back to the way it was before and now I'm still getting the same template error. I also tried using RSS templates from other themes, every time the same error :( What can I do to restore my feed?
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!
How would one go about implementing tufte-css?
I really like the look of tufte-css, available at github, but feel a bit intimidated about implementing it using Blot and the available templates. Does anyone have suggestions? (A dream would be if it became an available template out of the box…)
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.
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}}">
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
Updated file pulled form dropbox, but the page hasnt been updated?
updated the file it got synced my page hasn't been updated even though blot has pulled the updated version. Tried to clear cache, doesn't seem to solve the issue. Updated file once again, it got synced, but the page, again, hasn't updated. Any suggestions how I can update the page/prevent this from happening?
Ordering posts?
Is there a way to set the order of posts? Maybe be pre-fixing filenames or something like that?
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
How do I add Webmentions to my site?
The title says it all. I'm currently using Commento as an external service.
How do I blockquote text in a Google Doc?
I'm trying Google Docs as my post editor ... I want to make a par of text appear as a blockquote, but attempts so far have failed. Tried using Google Docs support for Markdown, using a ">" character at the start of the paragraph, but that didn't work. Next, tried to use Google Docs built-in "indent" command, that didn't work either. Is there another way?