{"category":{"version":"58c81e8e693cdd1900606acf","project":"542fe92a5eceb608003fddc8","_id":"58c81e8e693cdd1900606ad0","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-10-04T12:33:46.255Z","from_sync":false,"order":0,"slug":"documentation","title":"Documentation"},"parentDoc":null,"project":"542fe92a5eceb608003fddc8","user":"542c5cfcddd3190e00228849","version":{"__v":1,"_id":"58c81e8e693cdd1900606acf","project":"542fe92a5eceb608003fddc8","createdAt":"2017-03-14T16:47:10.620Z","releaseDate":"2017-03-14T16:47:10.620Z","categories":["58c81e8e693cdd1900606ad0","58c81e8e693cdd1900606ad1","58c81e8e693cdd1900606ad2","58c81e8e693cdd1900606ad3","58c81e8e693cdd1900606ad4","58c81e8e693cdd1900606ad5"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"0.11.7","version":"0.11.7"},"_id":"58c81e8e693cdd1900606adc","__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-04-07T19:27:32.901Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"never","params":[],"url":""},"isReference":false,"order":6,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"How do I list out all of my pages, tags or authors?\"\n}\n[/block]\nDepending on whether you're looking to create dynamic or static lists, you can use either [ajax](doc:using-the-ghost-api-via-ajax) or the [`{{get}}` helper](doc:get) to fetch extra data in addition to the data which Ghost provides.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"How do I add a custom favicon?\"\n}\n[/block]\nSee the section on [favicons](asset#favicons) in the `{{asset}}` helper docs\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"I'm making changes to a theme, why aren't they working?\"\n}\n[/block]\nIf you're in `production` mode, all templates are cached and you must restart Ghost for changes to take effect. Use `development` mode to make it easier to edit your theme.\n\nIf you've added a new `*.hbs` template file to Ghost, you must restart Ghost in any mode as Ghost does not re-scan the directory.\n\nIf your changes are in a CSS or JS file, and you're not seeing the changes - you may be missing the `{{asset}}` helper - see the [asset helper](doc:asset) documentation for more info.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Can I detect logged in users?\"\n}\n[/block]\nNo, blog pages are not aware of a user logged in to the admin panel.\n\nThe admin panel that users authenticate with is a client-side ember application which uses Ghost's API. The blog pages are rendered server side and served as static HTML. The two things are not aware of each other, and making them aware of each other would make it difficult to cache blog pages. Ghost is built for performance.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Why do I see Error: Failed to lookup view \\\"index\\\" or \\\"post\\\"?\"\n}\n[/block]\nCheck that your theme folder contains a correctly named `index.hbs` and `post.hbs` as these are required\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Why do I see __aSyNcId_### on my page?\"\n}\n[/block]\nIf this is constantly reproducible, it is usually caused by nesting [async helpers](doc:helpers#section-async) inside of each other. This isn't currently supported and is a known limitation of the current way that some helpers work.\n\nIf you see this temporarily, it may have been caused by a temporary error.","excerpt":"Troubleshooting tips and how tos","slug":"faq","type":"basic","title":"FAQ"}

FAQ

Troubleshooting tips and how tos

[block:api-header] { "type": "basic", "title": "How do I list out all of my pages, tags or authors?" } [/block] Depending on whether you're looking to create dynamic or static lists, you can use either [ajax](doc:using-the-ghost-api-via-ajax) or the [`{{get}}` helper](doc:get) to fetch extra data in addition to the data which Ghost provides. [block:api-header] { "type": "basic", "title": "How do I add a custom favicon?" } [/block] See the section on [favicons](asset#favicons) in the `{{asset}}` helper docs [block:api-header] { "type": "basic", "title": "I'm making changes to a theme, why aren't they working?" } [/block] If you're in `production` mode, all templates are cached and you must restart Ghost for changes to take effect. Use `development` mode to make it easier to edit your theme. If you've added a new `*.hbs` template file to Ghost, you must restart Ghost in any mode as Ghost does not re-scan the directory. If your changes are in a CSS or JS file, and you're not seeing the changes - you may be missing the `{{asset}}` helper - see the [asset helper](doc:asset) documentation for more info. [block:api-header] { "type": "basic", "title": "Can I detect logged in users?" } [/block] No, blog pages are not aware of a user logged in to the admin panel. The admin panel that users authenticate with is a client-side ember application which uses Ghost's API. The blog pages are rendered server side and served as static HTML. The two things are not aware of each other, and making them aware of each other would make it difficult to cache blog pages. Ghost is built for performance. [block:api-header] { "type": "basic", "title": "Why do I see Error: Failed to lookup view \"index\" or \"post\"?" } [/block] Check that your theme folder contains a correctly named `index.hbs` and `post.hbs` as these are required [block:api-header] { "type": "basic", "title": "Why do I see __aSyNcId_### on my page?" } [/block] If this is constantly reproducible, it is usually caused by nesting [async helpers](doc:helpers#section-async) inside of each other. This isn't currently supported and is a known limitation of the current way that some helpers work. If you see this temporarily, it may have been caused by a temporary error.