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?
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.
Sticky posts in Magazine template
I'm trying to figure out a way to make a post "sticky" or have some sort of Featured post that stays at the top of my Home page, and I'm struggling. I had found a question asking this about the Blog template and it was working fine when that was the only post on my site. Now that I've added more posts, though, the Sticky post is just having a plain hyperlink of its title displayed at the top of the page rather than the full width post I was seeing before. Is there any way to do this and have it work consistently on the Magazine template?
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?
Posting MP4 files
Is there any way to embed an MP4? When I do this it just shows a static image that does not play?
Display posts by tags or category
Is it possible to display posts by tags or a single category per post, so that I could have an archive with headings, something like this: Apples This is a post title, January 1st 2021 An earlier post, December 20th, 2020 Oranges My latest post about oranges, June 5th, 2021 β¦
Changing the summary text?
You say that the summary: "Defaults to the text of the first sentence of the first paragraph in the file." If the first paragraph is shorter than the maximum summary length, then the summary is continuing after the first paragraph. I would like to use the Magazine template and craft summaries that fit in the available space, so have a paragraph break after my summary.
Backlinks don't seem to work in Magazine template?
I'm trying to replace latest links in entry.html to backlinks, i.e.: {{#backlinks}} <a href="{{{url}}}" class=" dim no-underline db pv2 bt b--black-10" style="position:relative"> <span class="w-10 fr db" style="background: no-repeat url({{thumbnail.medium.url}}) 0 0 / cover"> <span class=" db" style="height:0;padding-bottom:100%;overflow:hidden"> </span> </span> <span class="fl w-80 db black-80 flex" style="display: flex; flex-direction: column; justify-content: center;"><span >{{title}}</span></span> <span class="cf"></span> </a> {{/backlinks}} I replaced {{#recent_entries}} with {{#backlinks}} in above but nothing shows. I can confirm backlinks code works fine on blog template. Can you help sort this? This is on my "commons" blot account. I have templates disabled when I'm not hacking away on it to keep bots/folks from browsing it so you'll want to enable it and set use template to Copy of Magazine. (For some reason whenever I disable templates and turn it back on it always defaults to blog template so I have to switch it to magazine each time. Could be a bug?) For an example blog page with backlinks look for the "snippets" one.
Trouble with a page on my template?
I'm having some trouble with my /now page. It's stuck showing the content from a now.html file that is no longer in my Blot folder. I want it to load from the now.md file in my Pages folder. Also, appending ?source=true to the URL to see the source content doesn't work. I've tried rebuilding my posts and pages from the Reset menu, but no dice.
Image captions are not appearing on my site?
I'm using the reference template and noticed that all my photos that have a caption in the post's source file do not appear with a caption on my site. Is this a known issue?
Use the first X characters of a post as title?
I have a fairly large number of posts that are imported from other services and have no titles. My first idea to handle this was to use a custom tag and then show "untitled post" for these posts. Unfortunately, it looks really silly on the archive page when there are several "untitled" posts in a row. My second idea to get the first X chars from the post and use that as the title, but is it possible to get the first X chars in some way? And before anyone suggest using the name of the file, my posts are stored in folders with images and are all called "index.md" which means that I get an archive full of "index" which looks even more silly that "untitled post" π
Changing background color with metadata?
Hello! Using a custom template here, based on an old version of the Essay template. I'm wondering if there's a way to specify an individual post's background color using Blot metadata. I'm already using the variable bg color in my CSS, but it grabs what color is specified in the template setting. (I'm overriding this on the template's dark mode variant). body { background: {{background_color}}; } What I'd like to do is specify a color in each post's metadata, which then gets loaded in place of that CSS variable. Any help would be much appreciated!
Is it possible to have commas in tags?
Is there a way of having commas in tags? Tried putting the tag in quote marks and escaping the comma but the terms either side of the comma always get separated out into separate tags. Thanks.
Image captions within a post?
I swear this used to give me an image and an image caption inside a post: ![Photo Credit in caption line.](_sample.jpeg) But now I only get the image and no caption. I'm using the blog template. Has something changed or do I have my markdown wrong?
Hide the publish date on my home page?
I'm using a text file as my landing page. I'd like to have that page appear without reference to when it was published. At the moment, information about when the page was published appears in the upper right hand corner of the page. Can I turn that off?
Hanging indents?
Is there an easy way to create hanging indents (i.e., any text that runs past the margin would wrap with a four-space indentation)? I can do this with single lines using HTML paragraph rules, but this creates some spacing problems. This may be a bit of a niche concern, but would help me format poetry to work better on phone screens.
Keeping footnotes?
I am using the Magazine template of which I love the Bignotes. But I would also like the footnotes to be visible at the bottom of the page. Is this possible? Thanks in advance
Remove the date from posts?
I am trying to have a main page and want the date completely gone. How do I do it for a post?
Support for video embed previews in feed?
I've been playing around with the excellent Reference template and having a lot of fun customizing it. While the blog feed is great for tagged images, I'm having a little bit of trouble getting video in the mix. I'm wondering if there's any way to get video embed thumbnails to display in the blog feed similar to image files? Right now they are treated as text posts since they are .md files with a Vimeo URL in them and some info in the file name (date, tags, etc). Ideally a mini version of the embedded player would show in the feed, similar to other templates. I'd be happy with a static thumbnail though, the .post.no-thumbnail style is a little jarring in a sea of image thumbnails. Thx! β₯Jonathan