|||

Blot.IM Help

Straight From The Horses Mouth

A recent exchange with David, resulted in an email, which I though might be useful to the community.

The old news page might be useful as a matter of historical reference. The source code itself is probably also worth adding too.

Variables

The variables on the template settings page are used internally by the template, and are exposed to each view (e.g. entries.html). I typically use these variables to centralise the value of properties like the template’s background color. This simplifies future modifications.

For example, if you create a new variable ‘twitter_username’ on the settings page, you can them embed its value in a template view (e.g. entries.html) like this: The only exception to this rule is the ‘page_size’ variable, which Blot checks to determine how many posts to show on each page (in your case, 20 posts). This makes it a ‘special variable’ but I believe it’s the only one.

Hiding tags from the list of tags

This is not possible without Javascript or CSS. Consider this hack in your custom css file if you wanted to hide the links for the tags ‘Apple’, ‘Pear’ and ‘Banana’:

.clip-tags a[href*=“apple”],

.clip-tags a[href*=“pear”],

.clip-tags a[href*=“banana”] {display:none}

Alternatively, just hardcode your desired tag menu into your template. Or create a page containing a list of links which you then embed in the template using this syntax . Can help you with this if you have any questions. There are lots of ways to achieve this.

Explore More