Developers
132 questions tagged ‘Developers’
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!
Hanging indents?
Is there an easy way to create hanging indents (i.e., any text that runs past the margin would wrap with a four-space indentation)? I can do this with single lines using HTML paragraph rules, but this creates some spacing problems. This may be a bit of a niche concern, but would help me format poetry to work better on phone screens.
Disable right-click downloading of images on my blog?
Is there a way to disable right-click downloading of images on my page? I would like to make image piracy just a tiny bit harder
Google Search Console cannot fetch my Sitemap?
I checked mysitename.xyz/sitemap.xml is indeed an xml file. I gave that to GSC, but even after a few days, it says Status: Couldn't fetch. What could be the reason? Maybe the site is too small? or maybe it's got to do with the notice that I see when I open the sitemap in my browser: This XML file does not appear to have any style information associated with it. The document tree is shown below.