/ Developers

Blog

All of these properties of your blog are exposed in the view used to render your templates. You can inspect the view used to render a template if you append the query string ?debug=true to any URL on your blog.



TagValue
{{title}}Your site’s title
{{#menu}}...{{/menu}}A list of the links on your site’s menu. Each link has the following properties, along with the {{first}}, {{last}}, {{penultimate}} and {{index}} properties available to all lists.
TagValue
{{id}}Unique identifier for this link
{{label}}Text label for this link
{{url}}URL for this link
{{active}}true if the page is selected
Example value
[
  {
    id: "1461204034921",
    label: "Twitter",
    url: "http://twitter.com/blot__",
    first: true,
    index: 1
  },
  {
    id: "1461204040659",
    label: "RSS feed",
    url: "/feed.rss",
    penultimate: true,
    index: 2
  },
  {
    id: "1461204028250",
    label: "Search",
    url: "/search",
    last: true,
    index: 3
  }
]
{{avatar}}Path to your site’s avatar
Example value"/_avatars/9553cebd-1195-42db-b317-19d9b02bb4f5.jpg"
{{blogURL}}URL to your site’s homepage
Example value"https://news.blot.im"
{{feedURL}}Path to your site’s RSS feed
Example value"/feed.rss"
{{cssURL}}Path to your site’s stylesheet. It contains a query string for cache-invalidation.
Example value"/style.css?1550076760859"
{{scriptURL}}Path to your site’s JavaScript file. It contains a query string for cache-invalidation.
Example value"/script.js?1550076760859"
{{sitemapURL}}Path to your site’s sitemap
Example value"/sitemap.xml"
{{cacheID}}A Unix time stamp for the last update you made to your site
{{timeZone}}Your site’s timezone in the tz database format
Example value"US/Pacific"
{{roundAvatar}}true if you’ve indicated your avatar is round, false if not
{{hideDates}}true if you’ve chosen to hide the dates on your site, false if not