Questions
Metadata on Google Docs
I was trying to add the date and tags metadata info on to the Google Doc. The metadata shows up as text on the actual post. Does Google Doc based publishing support metadata?
Slug changed after being published?
I have two posts with slugs. After being published, their URLs have "-2" added right after the slug. I have checked the slugs of each post and confirmed that they are not identical. This leads me to believe that there might be another reason for the addition of "-2" in the URLs. Here is one of the post has a slug "bionic" but it's URL is displayed as being "bionic-2": https://kuoyihs.in/bionic-2.
Adding an attribute to title on Archives page based on a tag?
On my main entries page, if a post is a link post I've updated the CSS to show a unicode arrow symbol after the title so people will know the title will take them to another location. I'm trying to achieve the same behavior on the archives page. This could be driven based on a tag value of 'linkpost'. Is this possible? Example of how it looks on main page (would like the same symbol to appear after the post title on archives based on a tag value being present):
Centering navigation on Blog template on mobile only?
I'm using a forked version of the Blog template for Tangible Life. I like the desktop layout with left and right justified elements, but they look odd on mobile size classes. How can I achieve a centered blog title, then Pages and Search/RSS icons centered below that on mobile only?
Redirect feed.xml to Blot's feed.rss?
Had my URL previously at micro.blog which uses feed.xml. So I tried various things including /feed.xml https://blog.mydomain.me/feed.rss with no luck. the feed.xml still returns a 404. Tried various other things but nothing works. Is this possible to redirect?
Wikilinks with iA Writer?
I'm not sure what changed for me moving from dropbox to git to sync my blog. I cannot seem to get wikilinks to show up after syncing the repo with some writing I've done. They show up properly in IA Writer version 7 and always showed up correctly previously.
Home page still not caught up. What's going on?
After intermitent recovery following last month's outages, now my home page is now stuck five days behind my site's content. For something that used to be rock-solid, I'm starting to have doubts about Blot's stability.
An error occurred while trying to edit the template.
About 12 hours ago, when trying to open any template for editing, an error appears: "Error: Error rendering /template-editor/preview.html: Unclosed section "tags" at 7088" After duplicating other templates, the result is the same. This is with all templates. The site is working, and the template preview is working too.
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?