Your sites Log in Sign up Menu

Bug

76 questions tagged ‘Bug’

Unable to get custom metadata to show up

I've set custom metadata for one of my posts, as per this doc. In this case, it is for describing magic spells. The metadata is as follows: title: Magic Spell tags: spell date: 2023-01-16 isSpell: yes magicWord: boo Now, I want to have this custom metadata show up, only for posts where the isSpell: metadata is set to yes. So I've modified my entry.html template as follows {{#entry}} {{#metadata.isSpell}} {{metadata.magicWord}} {{/metadata.isSpell}} {{{html}}} {{/entry}} But when I go to the corresponding post, I can't see the Magic Word. I've added ?debug=true to the URL and I can see the metadata in the JSON, so I'm not sure what I'm doing wrong here.

{{last}} is not defined inside {{archives}}

I know {{^last}}{{/last}} does work on Blot in principle, considering this question. However, it does not seem to work with {{#entries}}, even though some templates try to make use of it. Specifically, I am talking about the "Index" template, which tries to do the following on its archives.html part: {{#entries}} <a class="archive" href="{{{url}}}">{{title}}</a>{{^last}}&nbsp;&nbsp;·&nbsp;{{/last}} {{/entries}} In case of three posts in a single month, e. g. "abc", "def" and "ghi", I would expect the following to appear on the archives page: abc · def · ghi However, the {{^last}}{{/last}} block never seems to be executed, which leaves me with: abc def ghi (The spaces are probably added because of the line break in the HTML code.) I suspect that the items of {{#entries}} do not even have a last-property, which is why Mustache evaluates it to "false" (for all items)? Or is there some other problem? This happens with a freshly forked "Index" template, so I think it should work out of the box.

Enabling search for pages?

Is there a way to enable search for certain pages? I am talking about "user-defined" pages, i. e. stuff in /Pages or with Page: yes, not something like the archives page. Posts work perfectly, but pages, no matter whether they are stored inside or outside of /Pages, do not work, even with the following metadata: Search: yes Is this supposed to work somehow? Considering quite a few people use Blot for / as their "digital garden" / notes / information store, being able to search these pages would be very helpful.

Slug metadata not working?

Is the Slug metadata field new? I know I've wanted it for a long time and only just now noticed it on the Metadata page. Either way, it is not working as advertised. When I tested it on an old post where I had used the Link field to customize its slug, it just dropped the rest of the Link Format I had defined. Instead of domain.name/path/to/post/slug it loaded as domain.name/slug So it basically functioned the same as the Link field.

Date format not changing?

I am using the Magazine template and am unable to change the date format when editing the template. All other editing functions work fine, including relative date. But when I change the date format, the changes are not shown in the preview or on the actual site. Once I refresh the editor, the editor shows the default date format again, discarding my changes.

Fork unsupported templates?

I am just getting started with Blot and would like to fork an unsupported template. I've previously tinkered around with that but recently with the changes to the blot site, I'm finding myself unable to access the "Fork" button on that Unsupported Templates page. The only button available to me is the "Preview" button. Is anyone experiencing the same? Does anyone know of a workaround? I would like to preview and fork specifically the Essay Old and Essay Two templates.

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.

Broken link to developer documentation?

Hello, I'm trying to create a custom template, but some documentation seems to be missing: https://blot.im/developers/reference

Unable to add images and files via Git

Whenever I try to add files to the "Files" folder I get the following error (I'm using GitHub Desktop): "The remote disconnected. Check your Internet connection and try again." It handles all new text files just fine, but if I try to add a png, jpg, or zip it gets rejected and I get an error. How can I get blog.im to host my images? UPDATE: I'm also getting a "500 Internal Server Error" when I try to upload a small jpg via the dashboard here - https://blot.im/dashboard/USERNAME/photo

Previous 1 2 3 4 8 Next