Questions
Disable pagination?
I noticed that even when I don't use pagination in my template, typing /page/1 .. /2 .. etc. produces the pages with some result (depending on what's in the template). It's not a big deal, but I wonder if there is a way to disable pagination all along? I tried to create a redirect rule "/page/(.*)" > "/" but it didn't work out either
Recent entries filtered by tag?
I seems odd to me that I can easily filter "all_entries" array with "tagged.TagName" but I can not do the same with "recent_entries." If I use the combination inside a template it will output all "TagName" tagged entries within the last 30 entries. I guess the other option is "truncate" the output, but I couldn't find how to do that in the template language reference. I understand that there is a script option, but I'm already hacking too many things on blot with scripts and it's getting dangerous (( {{#all_entries}}{{#tagged.TagName}} <<-- how to limit output ? to X entries --| <a href="{{url}}">{{title}}</a> {{#tagged.TagName}}{{/all_entries}}
Turn Title into Link to Post
I am sure I am just missing something easy so I am sorry for this. Using blog template with full posts, wanted the title to also be link like the date is?
Choose different fonts for blog posts and site title/site menus
I'm new to Blot and have a question regarding font customization. I'd like to use different fonts for my blog posts (incl. blog title and body) and the title & menus of the blog. I forked an existing template but the font picker applied the new font to all the text in the blog. I dug around the source code but couldn't figure out how to achieve it.
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?
Discord links and metadata
I've noticed that all blot blogs no longer show the metadata when posted as a link to discord. This is true for every blot site I've found and tried, including ones with custom domains. There does seem to be a workaround: the metadata will show up if you view it as a preview of a different template, a draft, or with ?scheduled=true on the end of the link. Any idea what's happening?
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.
Should tags with non-ascii chars work?
If I have tags that contain chars like å,ä,ö should they work, i.e. if I click on the tags should I see a list with posts? The reason I ask is that when I click on an "ascii tag", I get a list of posts with this tag. But if I click on a tag like "väder" then no entries are listed - not even the post with the tag I clicked on. Is this a bug, or am I doing something wrong?
:Emojis: — emoji delimiter. Not being parsed, why?
Hello Blotters It appears that the Markdown parser on blot.im is not parsing emoji delimiters, even though I believe they are supported by the Markdown syntax. Emoji delimiters are represented by colons and are used to insert emojis into a document. For example, :smile: should render a smiling emoji. I am wondering if you're using the correct emoji delimiter. Do I need to install a library in my HTML to fix this issue? I am not sure how to proceed and would appreciate some guidance in resolving this little challenge. Many thanks!
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.
How to embed a HTML widget for instance a email signup form
I have seen your demo on uploading a separate HTML file, but how can I embed a snippet inside a md file?
Date formats not changing as requested
I know there's a question about time formats in the list below, I had something similar about date formats. When I've forked both Magazine and Blog templates there's a pull-down option to change the date format to Day/Month/Year, but the dates as shown on screen for each individual post always remain Month/Day/Year.
Embedding a Soundcloud player in a post?
Is it possible to embed a Soundcloud song into a blog post?
Next / previous posts following tag?
Would it be possible to use your next / previous templating on posts to only show the next or previous post for a specific tag?
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!
Buy Me a Coffee support?
I was wondering what is the easiest way to embed Buy Me a Coffee into a website on Blot?
Question about how Blot works?
In the developer docs it says Check if there is a template whose route matches the request’s path. Render the template if it matches. Check if there is a file which matches the request’s path in your blog’s folder. Send the file as a response if it matches. First I didn't really understand this (me being locked into another model of thinking) but if I've understood things correctly it means that when I link to a page, for example 'archive', it will use the archive template file to see what needs to be done. Questions: What are the "standard" templates that blot expects to see? archives, entries, entry, error, feed, search, tagged?? If a template use partials then it becomes possible to call that partial and it will be rendered. At least this is what I see when I call "head.html" and "header.html" (using the Blog template). Have I understood things correctly?
Having problem centering logo?
Although the logo is centered when i click "preview", when the website is fully published it is still stuck on the left corner. Live Website What I see on preview
Is it possible to hide specific tags from the tag list?
I have tags showing on my archive page and also my main page. I'm experimenting with using tags to help me build a custom RSS feed. I would like to exclude these tags from the Popular Tags list and even from the post itself. Ideally, these tags would be internal for me to use but not visible to the user. Is this possible?