Your sites Log in Sign up Menu

Templates

26 questions tagged ‘Templates’

How to change the number of posts on my homepage?

I know that {{recent_entries}} shows 30 posts but how can i have my home page only show the 10 most recent posts?

Improving Reference template on small screens?

Is there any way to ensure that the mobile phone experience is similar to desktops, tablets. I find the margins are completely cut off on mobile so it all looks very tight and ugly.

Posts with no title

For some of my entries I want to have a title, for some of them I would prefer not to have one. I modified the Blog template with {{#title}} <h1>{{title}}</h1>{{/title}} and I thought that would solve my problem. I.e. if the post didn't have a title then there would be no title shown, but Blot uses the file name as a title if there is not title in the frontmatter. I tried having an empty title, i.e. title: but then the title became "null". Is it possible to have some entries to have no title?

Removing images from recent & tagged pages

I'm trying to remove the feature images from both the recent list and tagged pages when using the magazine theme but can't seem to figure this one out. Any help would be greatly appreciated. Thank you.

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)?

Images in Magazine template entry listings?

How does the magazine template determine when/which image to show in an entry's listing? Many of my posts have images, but only some appear to the right of the listing on the main page, and I can't figure out what factor determines when an image is pulled there.

How would one go about implementing tufte-css?

I really like the look of tufte-css, available at github, but feel a bit intimidated about implementing it using Blot and the available templates. Does anyone have suggestions? (A dream would be if it became an available template out of the box…)

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! :)

Hide the publish date on my home page?

I'm using a text file as my landing page. I'd like to have that page appear without reference to when it was published. At the moment, information about when the page was published appears in the upper right hand corner of the page. Can I turn that off?

Last row of images is larger in Portfolio template?

Is there any way to not have the last row of images be larger than the rest? Happy to change code if you can point me in the right direction. You can see it in the example preview of the Portfolio template: https://preview-of-portfolio-on-bjorn.blot.im/