Log in Sign up

Questions

Ask question

Translate the months on my template?

Maybe there is a way to name the months personally, by manually entering new names for each month. Or immediately change the language in which the names of the months are displayed in the posts, without changing the format. If possible, I am interested in both options. I understand that it should be done in script.js, but I don't know what to add and on which line. Tell me please.

Restricted/Dynamic content through the template?

Not a developer, programmer or anything, but I thought something may be possible if I'm not misunderstanding how Blot works or missing anything... Since everything is public as rendered from the template on the server, could it be possible to use a system of conditional templates or template-based functions based on metadata of the file to restrict access to a page or show context-depending data (like user information)? I mean, coding a script with a call to some authorization service or similar API in a template, a script that would be conditionally used either as part of a page included in another template or doing something like having a template for a whole page to show only private content, that would be used depending on the presence of some metadata or not used if such metadata is not present? For example, using a whole-page template or part of a template for conditional/private information to be shown as part of the rendered page if an "access" metadata field is not false or has a certain value. Would it be possible? Would whatever is rendering the template receive data from an API and could it be done in a secure way (like with an HTTP-only cookie restricted to the same domain if hosting the API on a subdomain), without anything being exposed in any way? Or is it impossible or insecure?

Plausible analytics?

Hey there, I'm trying to install Plausible. I've selected it in my dashboard but I can't see where to enter the script Plausible gives me. <script defer data-domain="blink.blot.im" src="https://plausible.io/js/script.js"></script> Can you help me please? Thanks.

Tables on the Magazine template?

Please add table support to the Magazine template, it doesn't display vertical lines. Or tell me what needs to be transferred from the Blog template, because they work there.

Blog entries and notes in the same site

I feel like Blot is capable of serving as place where I can both create blog entries and register notes. The first ones are more structured, and the second ones are the kind of things I've been using Obsidian to write. This being said, I wonder if there is a way, using template tags or any other Blot feature I'm still unfamiliarized with, to completely hide my posts tagged as #notes from the homepage, while still being able to access a list of them separately, by, say, clicking mysite.com/notes/ in the menu. What I'd like to achieve by doing this is to have a mix of digital garden/ wiki/ blog in the same site. Am I aiming too high? Thanks for any help.

Errors pushing to Blot via Git

When I tried to push a file to Blot using Git, I encountered the following : HTTP 413 Error despite reasonable file sizes: git commit -m "changes" git push shell: /usr/bin/bash -e {0} env: BLOT_REPO_NAME: *** BLOT_REPO_URL: *** BLOT_USER_EMAIL: *** BLOT_USER_NAME: *** [master 8ba9cc2] changes 5 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 assets/_L1000146.jpg create mode 100644 assets/_L1000189.jpg create mode 100644 assets/_L1000205.jpg create mode 100644 assets/_L1000213.jpg error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 I thought the files might be too large, so I checked their sizes, but they weren't excessively big: -rw-r--r--@ 1 xxx staff 354982 9 11 22:32 _L1000137.jpg -rw-r--r--@ 1 xxx staff 837096 9 11 22:32 _L1000146.jpg -rw-r--r--@ 1 xxx staff 626368 9 11 22:32 _L1000189.jpg -rw-r--r--@ 1 xxx staff 585994 9 11 22:32 _L1000205.jpg -rw-r--r--@ 1 xxx staff 502986 9 11 22:32 _L1000213.jpg Is there any workaround for this issue?

Homepage is empty

I can't for the life of me get anything to appear on the home page. I added a new page with some custom content and set the link to / but it's still blank. For reference, I forked the blog template, changed some colors and started using it. I'm not sure if the homepage was blank before then because I hadn't uploaded any pages yet. Might be worth noting that the home page doesn't have the colors of the template either. The search page also doesn't have the right colors, but the archive page does. Is there some sort of delay in between making posts / changing template and the homepage updating?

Question search not working?

I was just looking to see if there's been an update on the potential improvements to search, but it seems that the search field on this site is broken. If I search for any query, nothing happens. I've tried in Safari, Firefox and Edge on MacOS Ventura 13.5.2.

How to show a YouTube fullscreen player when I click a youtube url?

I want to show a YouTube video just like the Blot introduction video.

How to make images appear larger on the entry page in Portfolio template?

I'd like my images to appear larger on the screen when one clicks on them from the grid. I'm using the portfolio template, and couldn't achieve the result by playing with any of the template edit sliders. The images themselves are quite large (2000x long edge) and opening them in a new tab shows them much larger than they are on the entry page. I also tried uploading full-resolution 6000x4000 images and their size did not change. Thanks

Changing the color of links on the Magazine template?

I'm using a magazine template for my content. But I've noticed that when I add a link, the text color doesn't change even though the text gets underlined. I want the linked text to have a different color so readers can easily see it's a clickable link to another page or website. How can I make that happen?

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?

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.

Previous 1 12 13 14 15 16 37 Next