Developers
135 questions tagged ‘Developers’
Adding a tooltip to links on hover?
I love the hover preview used in the bigfoot footnotes within the magazine theme. Just wondering if there was a way to do similar when hovering over wikilinks (similar to that of wikipedia or obsidian)?
How to set a custom 404 error message?
I would like to check if we can set custom 404 messages? Thank you.
How does the magazine template determine the tags to display in the left-hand menu?
I'm using the default magazine template, and am wondering how it choses which tags to show in the left-hand menu. It seems like it's limited to 5 – is it the first 5 that are used in posts, or the top 5 most frequently used? I'm wondering how to change them. Thanks! :)
How do you generate a sitemap.xml?
How do you generate a sitemap.xml to add to Google Search Console?
Nested tags structure in nav bar
Looking for a way to show the nested tags structure in the nav bar. For example Folder structure being: [Tag A] [Tag B] [Tag C] [Tag D] I would want to have the same indentation and hierarchy in the nav bar, and ideally being apple to collapse and uncollapse them would be great. Is there a way to do this with the current templates?
Site-wide custom metadata?
Is there currently a way to replicate Jekyll style site-wide metadata? I am trying to use Blot for my teaching materials and there are several bits of information (deadlines for papers etc) that need to appear in several different entries; being able to define them in a single (yaml/json?) data file and include them in the entry as, for example {{site.metadata.deadline1}} would be really useful. Thanks!
Full entry on home page of Magazine template?
This might be quite basic but I can’t work it out. Please can you advise me how I can show the full entry of blog posts on the home page using the Magazine template, instead of the summaries? Ideally the pagination would still work the same using the 'posts per page' setting – I just want to display the full entries for the posts. I know I could use the blog template for this but I prefer the layout of the Magazine template apart from this one thing.
Canonical URLs?
Google Search Console mentioned a lot of pages without user-selected canonical, and after researching a little, I learned that it's better for static sites to mention each original URL (entry or page) as a link rel canonical in the head. I think that's what is better, not sure. I managed to do this perfectly for entries, but using {{{absoluteURL}}} in the head, between {{#entry}} and {{/entry}}. But this doesn't work for the site homepage, or pages like archives, etc. Is there a Reference item that would work for every page of the site, and not just entries?
Adding Arabic support?
I plan to use Blot to blog in Arabic – do you forsee any problems in using Arabic letters in the text files to be uploaded? I will develop a new template that supports and renders Arabic correctly. I have a good knowledge with HTML/CSS, and the documentations for theme development will help me.
Remove website title from browser tab on specific pages?
Is it possible to remove my website title from the browser tab, just on the homepage? I'd just like it to say "Home" without it being followed by the name of my website. Thanks!