{"category":{"version":"58810495d172b61b00d73859","project":"542fe92a5eceb608003fddc8","_id":"58810495d172b61b00d7385d","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-10-04T12:45:40.548Z","from_sync":false,"order":3,"slug":"helper-reference","title":"Helper Reference"},"parentDoc":null,"project":"542fe92a5eceb608003fddc8","user":"542c5cfcddd3190e00228849","version":{"__v":1,"_id":"58810495d172b61b00d73859","project":"542fe92a5eceb608003fddc8","createdAt":"2017-01-19T18:25:25.206Z","releaseDate":"2017-01-19T18:25:25.206Z","categories":["58810495d172b61b00d7385a","58810495d172b61b00d7385b","58810495d172b61b00d7385c","58810495d172b61b00d7385d","58810495d172b61b00d7385e","58810495d172b61b00d7385f"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"0.11.4","version":"0.11.4"},"_id":"58810495d172b61b00d73871","__v":0,"updates":["5601ae1f2499c119000faf13"],"next":{"pages":[],"description":""},"createdAt":"2015-01-12T22:53:37.653Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":21,"body":"The `:::at:::blog` property provides access to [global data](/docs/handlebars#section-global-data) properties, which are available anywhere in your theme:\n\n*   [email protected]}}` – the url specified for this blog in `config.js`\n*   [email protected]}}` – the blog title from the settings page\n*   [email protected]}}` – the blog description from the settings page\n*   [email protected]}}` – the blog logo from the settings page\n*   [email protected]}}` – the blog cover image from the settings page\n*   [email protected]}}` – the twitter username from the settings page (see [twitter_url](doc:twitter_url))\n*   [email protected]}}` – the facebook username / page name from the settings page (see [facebook_url](doc:facebook_url))\n*   [email protected]}}` – the navigation information configured on the settings/navigation page (see [navigation](doc:navigation)) \n*   [email protected]}}` – the permalinks string which decides the format for post urls\n*   [email protected]_per_page}}` – the number of posts per page as configured in settings\n*   [email protected]}}` – the timezone as configured in settings\n\n### Example Code\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"<nav class=\\\"main-nav overlay clearfix\\\">\\n    {{#if @blog.logo}}\\n        <a class=\\\"blog-logo\\\" href=\\\"[email protected]}}\\\"><img src=\\\"[email protected]}}\\\" alt=\\\"Blog Logo\\\" /></a>\\n    {{/if}}\\n    <a class=\\\"subscribe-button icon-feed\\\" href=\\\"[email protected]}}/rss/\\\">Subscribe</a>\\n </nav>\",\n      \"language\": \"handlebars\",\n      \"name\": \"Handlebars\"\n    }\n  ]\n}\n[/block]\n\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"See the [navigation](doc:navigation) helper for information on outputting navigation in your theme\"\n}\n[/block]","excerpt":"@blog Helper - Global data","slug":"blog","type":"basic","title":"@blog"}

@blog

@blog Helper - Global data

The [email protected]` property provides access to [global data](/docs/handlebars#section-global-data) properties, which are available anywhere in your theme: * [email protected]}}` – the url specified for this blog in `config.js` * [email protected]}}` – the blog title from the settings page * [email protected]}}` – the blog description from the settings page * [email protected]}}` – the blog logo from the settings page * [email protected]}}` – the blog cover image from the settings page * [email protected]}}` – the twitter username from the settings page (see [twitter_url](doc:twitter_url)) * [email protected]}}` – the facebook username / page name from the settings page (see [facebook_url](doc:facebook_url)) * [email protected]}}` – the navigation information configured on the settings/navigation page (see [navigation](doc:navigation)) * [email protected]}}` – the permalinks string which decides the format for post urls * [email protected]_per_page}}` – the number of posts per page as configured in settings * [email protected]}}` – the timezone as configured in settings ### Example Code [block:code] { "codes": [ { "code": "<nav class=\"main-nav overlay clearfix\">\n {{#if @blog.logo}}\n <a class=\"blog-logo\" href=\"[email protected]}}\"><img src=\"[email protected]}}\" alt=\"Blog Logo\" /></a>\n {{/if}}\n <a class=\"subscribe-button icon-feed\" href=\"[email protected]}}/rss/\">Subscribe</a>\n </nav>", "language": "handlebars", "name": "Handlebars" } ] } [/block] [block:callout] { "type": "info", "body": "See the [navigation](doc:navigation) helper for information on outputting navigation in your theme" } [/block]