Your sites Log in Sign up Menu


128 questions tagged ‘Developers’

How do back links work?

Your back links feature works well (at least in Magazine template) so the geek in me is curious how it works, how does Blot know there are existing links to a post? Does it scan the site or some internal database when a new post is generated?

Wider text column in Magazine template?

What do i need to do to make the text column larger in the magazine template?

Menu doesn't render inside entry context?

I'm still investigating this other question and as part of that I'm back and forth looking at what the template debug is giving me and what I'm trying to access. One thing that I'm seeing now though is that, when inside of #entry, I'm able to use #allEntries, even though that's declared outside the scope of entry. The docs mention searching for parent keys so I suspect that is why. However, when I try to do the same for #menu, nothing is rendered if I'm inside #entry, even though menu/allEntries exist at the same json level and are outside of entry. Is this a bug or intended behavior? I'd definitely like #menu to be used inside of an entry, especially given that I need entry metadata.

For dates, is is possible to only display the month and year?

I'd like dates to appear just as month and year. Without the day. Is that possible? If so, where would I make the change? Using the Magazine template. Thank you!

Tags as RSS categories?

Is it possible to modify the RSS feed so that an entry's tags will be declared as categories in the feed? I'm asking because I'm switching to Feedmail for email subscriptions and they have a feature that lets users subscribe to or exclude specific categories. Would be great if I could take advantage of that feature.

Could you describe how the package.json works?

Was just looking around this evening trying to figure out how the package.json works and not really sure i understand what is going on. for instance it seems to have "locals", "partials", and "url" available under "views". Is that it? Also it appears that you can set up stuff that will show up in the template editor via package.json. How does that work? Also, curious how partials work in the context of views (pages). I see in the latest templates you're always referencing them as {{>partialname}} but in some the older templates they are referenced either as partials or as variables. (was fooling with Marfa). Can it work either way as it seems it can and its just a convention thing? Sorry a lot of questions :) But I'd love a more in-depth idea of how everything fits together in that file.

How to hide text if it's the homepage

I'd like to hide a link on my homepage. I thought using the below conditional on the page variable would work but it didn't work and the text is hidden everywhere. Any ideas? {{^page}}The text I want to hide.{{/page}}

Thumbnails on index pages?

Is there a way to display the thumbnails on ~/page/1? I'm using a variation of of the Blog template, but I want my homepage to not be the list of blogposts, so instead I have a link to on the top bar. So it'd be cool if it displayed thumbnails there.

Can a Layout tag be applied to image posts via the template?

I'm using the Magazine template for a photoblog. For posts with multiple images, I create a Markdown file with image embeds and a float right {>>} tag on square or landscape images so they are displayed in a similar size as portrait images. However, when posting single images directly, I'm unable to add those tags since there's no Markdown. Is it possible to add the applicable .css class to square and landscape ratio image posts through the template directly? Two examples links from my site: multi image post vs single image post

Analytics not working?

Analytics tracking doesn't seem to work? I tried selecting Heap and entering the ID and full script but neither work?

1 2 3 4 13 Next