{"_id":"5937b2388e8d9b002f1df27e","category":{"_id":"5937b2388e8d9b002f1df272","version":"5937b2378e8d9b002f1df26e","project":"542fe92a5eceb608003fddc8","__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":{"_id":"5937b2378e8d9b002f1df26e","project":"542fe92a5eceb608003fddc8","__v":1,"createdAt":"2017-06-07T07:58:47.936Z","releaseDate":"2017-06-07T07:58:47.936Z","categories":["5937b2388e8d9b002f1df26f","5937b2388e8d9b002f1df270","5937b2388e8d9b002f1df271","5937b2388e8d9b002f1df272","5937b2388e8d9b002f1df273","5937b2388e8d9b002f1df274"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0.0"},"__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":{"settings":"","results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":22,"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 [your custom config file](https://docs.ghost.org/docs/configuring-ghost)\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]_image}}` – 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]}}` – 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 [your custom config file](https://docs.ghost.org/docs/configuring-ghost) * [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]_image}}` – 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]}}` – 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]