Questions
How to add a new view with a tag as parameter
I want to add a second template page similar to the tagged pages, so I added in package.json: "views": { "tagged2.html": { "url": "/tagged2" "partials": { "title": "...", "description": "..." } }, ... } However this merely defines a URL http://myname.blot.im/tagged2 without parameters. That's why http://myname.blot.im/tagged2/mytag gives a 404. So how can I define a new view/template page which accepts a tag name as parameter?
Metadata in a markdown file
If I have something in my YAML front matter, can I display that in my post? This does not seem to work when placed in the markdown file. Date: September 15th, 2022blah: Apple {{metadata.blah}}
How to omit some tags from all_tags?
I know I can show all blog tags with all_tags in the side area of my blog site. Is there a way to omit some tags from this list? (The omitted tags I'd rather like to list as (manually added) page links - as broad categories.)
Possible to filter tags from lists of tags
Trying to conceptualize how to set up my portfolio site and I was wondering if it's possible to return a more refined list of tags than either {{#all_tags}} or {{#popular_tags}}. Specifically, I'd love to be able to display a list of tags that are subhierarchical to a tag folder they reside in. Using examples from the docs, let's imagine a site set up like: [Pictures]›[Sicily] [Pictures]›[Venezia] [Essay]›[Roma] And calling {{#all_tags}} {{tagged.Pictures}}... would return the tag links [Sicily] and [Venezia] (which could be used to generate categorical navigation links as in the nav of the portfolio theme which is the base of the fork). Is there a different way to approach this or is a function similar to this possible?
Tags page as homepage
I'm using the magazine template and would like to turn my tags page (/tags) into my blog's landing page (homepage). Is it possible?
PDF Support
Hello, any idea when PDFs would be supported? It is really difficult to save web pages while keeping formatting, various content, etc. on iPad or iPhone (Share/Save to Dropbox). Many thanks!
How to add a tagline or sub-heading to the blog heading?
I'm using the Blog template and wanted to add my own name -- By XYZ -- as a tagline/sub-head/caption that should appear right under the blog name (header) but in a smaller font (where I'd also like to change the font and color of the tagline). Please let me know how to achieve this, thank you!
Hiding the page title?
I realize that using the following metadata: Link: / at the top of a post will make it a "landing page", but what I can't figure out is how to avoid the first line of text becoming the name of the page in my links list, without inserting an image at the top of the page (I discovered this fixed the issue by accident when I added an image at the top of certain pages). But without an image, if I want a page named "contact" (for example") I need to have "contact" at the top of the page.
How can I post images without... POSTing images?
I want to upload images to embed within posts. I DON'T want these images to appear as their own posts! I figured moving them into the Files folder would achieve this, but... apparently no such luck!
Dark mode for Blog template?
Is there any way to switch the color variables for background color and text color in the Blog template when someone is using dark mode? I know how to do it with a media query in CSS, but I'm not sure how to do it with variables defined in a JSON file. Thanks!
Using the filename as a slug?
Hi there, I understand that I can set the "slug" metadata to change the slug to something other than a slugified version of a post's title. Is there a way to just default to using the filename? For example, if the filename is 2015-04-05.pithy-slug.md And the title is # How to write pithy slugs in 17 steps or more! I would like the slug to be pithy-slug. Alex
Simple lightbox zoom on images?
I've seen in some templates there's a simple magnifying zoom on images embedded in files/posts. I also read it is/was out of the box in the Blog template but can't seem to find it. How is that accomplished? For reference see images this provided example site: https://benlog.net/
Showing all comments on the homepage?
I'd like my comments/box to appear under every post on the main page. My entry.html now looks like this: <div class="clear"></div> <section id="#Comments"> {{> pluginHTML}} </section> <div class="clear"></div> The comments appear on each entry if I visit it from the archive but not on the homepage.
#all_tags stopped working?
I noticed in all my templates that use #all_tags they stopped working on both of my sites, returning blank results. I'm guessing something changed on the back-end? Is it possible this could be restored? It brings very useful capabilities. Example code: {{#all_tags}} {{#entries}} {{#tagged.liked}} <a href="{{metadata.source}}" target="_blank">{{title}}</a> → <br><dd>{{summary}}</dd><br> {{/tagged.liked}} {{/entries}} {{/all_tags}} Page it's used on: https://notes.alongtheray.com/bookmarks
Can you help me get Simple Analytics working for my site?
I am trying to get Simple Analytics working. On their website, they say I should insert a few lines of code into my webpage. But, when I am on blot.im and edit my template, there are several pages listed. Do I add that Simple Analytics code to the "entries.html" page, or to a different one?
editing source for site template ux issue
Blot's new UX is gorgeous, but it became painfully hard to edit a template's source code, as the preview images on the left render in several different sizes and push the rest of the screen far-right.
Post spacing in the Blog template
Hey, what would be the easiest way to condense the space between posts in the Blog template? When a post is short, the space between that and the next post looks large.
Tags as RSS categories?
Is it possible to modify the RSS feed so that an entry's tags will be declared as categories in the feed? I'm asking because I'm switching to Feedmail for email subscriptions and they have a feature that lets users subscribe to or exclude specific categories. Would be great if I could take advantage of that feature.
Could you describe how the package.json works?
Was just looking around this evening trying to figure out how the package.json works and not really sure i understand what is going on. for instance it seems to have "locals", "partials", and "url" available under "views". Is that it? Also it appears that you can set up stuff that will show up in the template editor via package.json. How does that work? Also, curious how partials work in the context of views (pages). I see in the latest templates you're always referencing them as {{>partialname}} but in some the older templates they are referenced either as partials or as variables. (was fooling with Marfa). Can it work either way as it seems it can and its just a convention thing? Sorry a lot of questions :) But I'd love a more in-depth idea of how everything fits together in that file.
Newsletter
Get updates on Blot’s latest features and changes. Delivered every three months.