Developers
143 questions tagged ‘Developers’
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 I rename the local-edit folder of my forked template?
I forked a template to make my own, renamed it, and exported it to my Dropbox folder so I can edit it locally. The resulting folder is named after the template I forked ("empty-copy-template") instead of the name I gave it. Can I rename it? If so, do I need to keep the same style (all lowercase, dashes instead of spaces)? — Shy
Why would CSS reset after editing in browser?
I have been modifying my style.css sheet in Blot's template editor for the past few hours. I was using the Original template and modifying in Blot's dashboard interface. However, after a page refresh while editing the style sheet, I lost all changes I had been working on. Why would this happen? And how do I ensure this doesn't happen again?
Exclude some tags from popular tags?
Is there a way to exclude some tags from being listed in the {{#popular_tags}} list? Thanks, Ray
Hide specific tags from the RSS feed?
Is it possible to remove certain categories tags from the feed?
RSS defined by YAML front matter?
I have been trying various ways to have an rss feed defined by a YAML category holding the information about the language in which the post is written. Is there a way to achieve this? I got it to work with tags but would prefer that category not to show as a tag. Any pointers will be much appreciated.
How to display post title on home / entries page?
I was able to get the title to display on the entry itself by adding this line to the top of the entry.html template: <h1>{(entry.title}}</h1> However, on the home page where all entries are shown, there's no titles, which makes it hard to tell one post from another. How can I add the titles to the entries page too?
Fallback thumbnail?
Is there a way to set a default thumbnail image that will be used for posts without an image attached?
Creating a Drop Cap in the Blog Template
Just thought I would share what worked for me for those looking to do the same thing. Add to your CSS file. /* Drop Cap */ .entry > p:first-of-type::first-letter { color: #A52A2A; float: left; font-size: 3em; margin: .1em .1em .1em .1em; line-height: 0.85; }