Questions
Referencing a link to the current page while writing it?
Is there a way to reference the current page's URL while writing the post? I'd like to be able to create visible anchor links while I'm writing, but don't know of an easy way to include the post's URL. I know that you can put {#anchor-link-name} on a line to create an anchor link so that https://domain.com/path/#anchor-link-name will bring you to that line. I also know that if I use just a leading slash, it will append the slug to my base domain. i.e. [linked text](/some-slug] will automatically point to https://mydomain.com/some-slug. But how do include the path part before the post is published? Here's my idea: two leading slashes to indicate it should include the page's full URL and then append whatever is referenced to the end of that. That way, when writing, I could just put this text [🔗](//#anchor-link-name) {#anchor-link-name} next to a heading, and I'd get a visible bit of hypertext (the emoji) that links to a particular part of the very page its on. The full thing: ## A super cool heading [🔗](//#super-cool-heading) {#super-cool-heading} Or is there an existing way to accomplish the same thing?
How would I include the page summary in the post body?
So I always create a summary for every post, this is within the front matter of each post and is used for the description with the HTML meta. I also use this summary as a line of intro text for every post. At the moment, I copy/paste the summary into the body of the post, but it would be nice if this was rendered automatically at build. I've tried including {{{summary}}} in the body, but it doesn't render. How would I get the summary to render in my posts?
Does Blot support Google Docs?
I've set up my blog with my URL and connected to Google Drive. My dashboard shows the test posts I've made and I can view them when i click directly on the dashboard links (however, metadata is displayed in plain text) The front page shows the blog template, but the test posts do not populate to the blog - it's just blank.
Tags with accents disappearing
It's been two months since I noticed that some of my tags kept disappearing from my tags list. I found that I could make them come back by just changing the folder name (I use folders with brackets to create my tags). At first I thought the tags that were disappearing were random, but recently I concluded that they were always the same and what they have in common is that they are all graphic accentuated words (words with graphic marks such as á ó ê): [Diários de viagem], [Memórias em fotos] and [Séries]. I'm from Brazil so I always use a lot of graphic marks in words since I write in Portuguese. Has anyone experienced something like this and know how I can solve this problem?
How do I get text on my homepage?
Not sure if it's an error on my google drive sync or if I'm just going about this wrong. I've been able to navigate through pages, blot doesn't support videos does it?
How do I get links to point to a folder?
I'd like to use the links to point to the contents of a folder. So if they click "NPCs" the resulting page will be all the NPCs in my NPC folder (in my synced google drive folder). Is that possible? If so, how? I can't seem to figure it out.
How do I work with external contractors?
I'd like an external contractor to update the templates and CSS of my site to provide a new design that is beyond my capabilities to implement. How do I work with them? My ideal would be to have a locally hosted version of my site that I could collaborate with the contractor via github and PRs. Is that an option? Or something like it? I don't want to just give them the password to my Blot account and let them go to town.
When linking from a landing page to another page, the linked txt file is rendered without CSS
Using home.txt with the following syntax: Link: / [Page 1](/Pages/page1.txt) The resultant page is shown without styles. How do I link this page to a template?
Implement WebFinger?
Is there any simple way to implement a WebFinger with Blot? I tried to upload a JSON file, and it is served by Blot (https://lev.lc/webfinger.json), but I can't figure out how to assign it to a proper "/.well-known/webfinger" path. If you wonder why anyone needs that, it looks like an easy yet "hacky" way to use your own domain with Mastodon
URL-ifying Titles
I noticed that Blot replaces apostrophes with dashes when converting a title to a URL-ready slug, but only when they’re singular. For example, Apple’s Striking Short Film Ahead of International Day of People With Disabilities → https://heydingus.net/blog/2022/12/apple-s-striking-short-film-ahead-of-international-day-of-people-with-disabilities vs ‘All Consuming’ Podcast is Back → https://heydingus.net/blog/2022/12/all-consuming-podcast-is-back Would you consider making it so singular apostrophes are also ignored, as it would make the URLs more readable?
Turn website off temporarily?
is it possible to turn off my website temporarily? I do not want to delete my account but make the site inaccessible for a limited time. Best regards Florian Guckelsberger
Recent entries filtered by tag?
I seems odd to me that I can easily filter "all_entries" array with "tagged.TagName" but I can not do the same with "recent_entries." If I use the combination inside a template it will output all "TagName" tagged entries within the last 30 entries. I guess the other option is "truncate" the output, but I couldn't find how to do that in the template language reference. I understand that there is a script option, but I'm already hacking too many things on blot with scripts and it's getting dangerous (( {{#all_entries}}{{#tagged.TagName}} <<-- how to limit output ? to X entries --| <a href="{{url}}">{{title}}</a> {{#tagged.TagName}}{{/all_entries}}
Is there a way to use frontend JS frameworks?
I've already tried implementing javascript into my blog posts which works perfectly, but I'm curious if there's a way to also use frameworks so that we don't need to write vanilla JS all the time. Specifically I'm thinking of things like React, Svelte, or MDX. My use case is that sometimes I like having interactive components within my blog posts that may take an input from earlier up in the post and cascade the changes throughout the other components in the post.
Backup Custom Template?
Year ago I backed up my custom template. Thought there was an option for that, but not seeing it on the Templates page. How do I do that?
Disable pagination?
I noticed that even when I don't use pagination in my template, typing /page/1 .. /2 .. etc. produces the pages with some result (depending on what's in the template). It's not a big deal, but I wonder if there is a way to disable pagination all along? I tried to create a redirect rule "/page/(.*)" > "/" but it didn't work out either
Hide or show certain sections depending on metadata?
I'm wondering if there's a simple way to hide a section from a page template if a certain metadata is specified. A bit like with Menu: No which hides a page from the navbar. I'd like to create a Hero Image: No which would disable the top image on a blog post. Your help is much appreciated :)
Hiding the title of my posts on Micro.blog?
I'd like my posts to have no title at all. On my blot page, there is no title but when imported into micro.blog, the first line appears as the title. Is there a way to remove the title altogether so it doesn't appear elsewhere?
Lazy loading on images?
Wondering if anyone has figured out a way to introduce lazy loading for images? I know we can add loading="lazy" in the HTML, but I'd like a way to do it in Markdown, so I don't have to write out all the HTML for every image. When my site was based on Jekyll, I could use Kramdown and add {: loading="lazy"} after the image to add the required flag. But nothing like that exists AFAIK with Blot. Do any of you have any ideas please? I'd like to avoid introducing JS if at all possible. Thanks!
Choose different fonts for blog posts and site title/site menus
I'm new to Blot and have a question regarding font customization. I'd like to use different fonts for my blog posts (incl. blog title and body) and the title & menus of the blog. I forked an existing template but the font picker applied the new font to all the text in the blog. I dug around the source code but couldn't figure out how to achieve it.