Questions
How to create a new template view?
I’ve already forked the diary template and tried to create a new html file for this “Blog” page. But this new blog.html file does not show anywhere on the published site. I would like to display a link to this page inside the header. My understanding is that it has to do with the views in the package.json file, but I’d like to learn more about the best way to implement this properly.
Tags on the Diary template
In the header of the Diary template, the tags that appear next to the title: Are these automatically every tag on the site? Is there any way to edit which tags/categories appear in this space? Or have nothing appear there?
How can I display my Site Title alone as the Title for my homepage?
This is the most trivial thing, however, I have a homepage set with the metadata: Permalink: /and no matter whether or not I include (blank) Title: metadata, the page's title (in a browser tab) displays as '- [Site Title]'. All my other pages display as '[Page Title] - [Site Title]', so I get that this is the page looking for a page title, not finding one, but leaving in the hyphen delimiter. Is there a way to stop it doing that, and just display the [Site Title]? I can do it site wide by taking the '>' out of this line in head.html: <title>{{> title}}</title>, but that makes the title of every other page look weird. Any and all suggestions appreciated.
Can I add this Hypothesis JS embed?
Dear friends who know more about JavaScript than me, do you think I can do this on my Blot site without a) breaking things; b) taxing Blot in some burdensome way?
How to create a page with iframe?
I'd like to create a page with an iframe snippet, the page is not rendered.
Showing the latest blog post in the home page
How can I show the latest blog post in its entirety on the home page using Essay. The user could them scroll down to see more posts.
All posts by tag
Is there a way to loop through every tag and then print all entries with that tag below it? i.e. the /tagged/example page but with every tag and its entries, without having to specify each one individually.
How can I customise the number of items in a list?
I have display popular_tags on my home page. I want to limit it to the top 10 or 15 most popular tags. How can I do that?
Can I display a customised list of posts inside a Page?
I want to have a curated list of topics on the main menu. I can do this using tags (by putting the tagged url in the menu), but this doesn't allow me to have a custom introductory text for each tag. Say I want to put Coffee and Cities on my menu. I want to write something about coffee in general, followed by a list of all posts tagged coffee. Ditto, for Cities. The introductory text is different for the two topics, so I can't just put it in tagged.html Will be grateful for tips that'll help me achieve this. Thanks.
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 …
Change display of date to other format?
Is there an easy way to change the displayed date format to something else? I use the Essay template. I would like to have yyyy-MM-dd, as in 2021-06-20 for today's date.
Remove the underline from the links in the Diary template?
I've put text-decoration: none in most places where the anchor "a" is defined in the style.css file of the Diary template; but it still won't go away. What should I change to make a global change such that none of the hyperlinks are underlined?
Embedding a Soundcloud player in a post?
Is it possible to embed a Soundcloud song into a blog post?
Images when sharing posts on social media?
When sharing links to my website on social media, how can I get thumbnails to show up?
Sort pages by modified data / custom metadata
Hi! Is there a way to sort entries by modified date, or by some custom numeric metadata field in posts? For example, if I have something like: {{#allEntries}} {{#tagged.Home}} <li><a href="{{url}}">{{title}}</a></li> {{/tagged.Home}} {{/allEntries}} Can I specify the order in which these entries appear? Even the ability to sort by modified date might be enough, since I can "touch" each file to put them in the correct order. Thank you!
Content Security Policy
I’m seeing a new best practice around regarding Content Security Policy (CSP): any solution planned in Blot regarding this or is an individual implementation to consider, like analytics? Thanks!
Are there SEO-related features?
E.g., setting canonical links, meta descriptions, og:image, site title/description, etc.
Dropbox free account
I currently have a paid Dropbox account. But I am considering switching to an alternate service (probably iCloud). I remember reading somewhere – on the Blot website I think, but can no longer find it – that with recent changes in Dropbox plans, free Dropbox accounts will no longer sync with services like Blot in the same way paid Dropbox accounts do. Will my Blot website be affected if I switch to a free Dropbox account? Also, do you have any future plans to sync with iCloud or other services like Google Drive?
YAML metadata
Blot's metadata system is awesome. So is YAML metadata, which is used by a bunch of other apps and services. Do YAML's --- separators break Blot's metadata, or are the two compatible? Edit: just noticed that this seems to be in the todos: https://blot.im/about/news Looking forward to it!
Adding script to format RPG "actual play" reports
Hi, I have been playing around with trying to set up ap_shortcodes.js on my site to allow shortcodes to format RPG 'actual play' reports. I've tried pointing the head scripts and css to the default location and also downloading them to my local site and pointing to them there, but the JavaScript doesn't seem to be getting picked up. The example page provided by the developer works just fine (the example html) so my browser is certainly able to render the scripts...and I'm assuming the default scripts (that I've been trying to point to) also are functional. I presume it's just something at the Blot end that I've done incorrectly! Can you please point me in the direction of any information that might help me configure these settings?