Log in Sign up

Developers

153 questions tagged ‘Developers’

Specific Tag Views?

Is there a way to creat specific views that the blog engine will access when a visitor goes to a /tagged/keyword url? Example. I’d love to be able to make a tagged-photos.html view with specific markup and have the blog engine know to load this when someone goes to the /tagged/photos url. If a tag specific view does not exist, the default tagged.html would be used. I know I can make a view, filter it on a specific tag, and then bind that view to a specific short url /photos through the json file, but I’m wondering if there’s a more fluid/less clunky way.

How to hide 'digital garden' posts from front page?

Hi! Is it possible to hide 'digital garden' posts from my front page? I want to only show blog-style posts, but my 'evergreen' digital garden posts are also appearing on the front page. I want to be able to link to digital garden posts, but not show them on front page or in archive. Thanks!

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!

Is it possible to add a robots.txt?

Hi, is there a way to add our own robots.txt to disallow crawling, without it being turned into a post of its own? Also, if there is, how can I make User-agent: * Disallow: / not be read as metadata

Permalink on entry title instead of date

Is there a fairly straightforward way to set the permalink to the entry title rather than the date that is displayed for that entry from the entries list?

How do I display a teaser from the content of a post?

I have searched the documentation and the questions here, but I have not found an answer to the question. If I have a post, and I want to display an excerpt (teaser) for it on the list of posts (using the Diary template), how do I accomplish this without having to duplicate post content in the metadata section? I have tried a variety of combinations of the {{{teaser}}} and {{more}} special tags in my post content but nothing seems to work. I simply want to know how I can flag the first paragraph of the post as a teaser. Thanks for any help you can provide.

Add a Table of Contents to each post?

I would like to add a TOC (table of contents) to each post on my blog. What is the best way to accomplish this?

How to sort tags alphabetically?

I'm using the Magazine template and would like to sort the tags in the sidebar alphabetically. Is that possible?

Adding a 'comments' link on the homepage?

I'm using Commento, but the problem is that it is lacking visibility. How could I add a "Comments" link under the post date on the left, on each post, on the main page? Thanks.

How do I add Webmentions to my site?

The title says it all. I'm currently using Commento as an external service.

Newsletter
Get updates on Blot’s latest features and changes. Delivered every three months.