{"action":"created","issue":{"url":"https://api.github.com/repos/ramnathv/slidify/issues/454","labels_url":"https://api.github.com/repos/ramnathv/slidify/issues/454/labels{/name}","comments_url":"https://api.github.com/repos/ramnathv/slidify/issues/454/comments","events_url":"https://api.github.com/repos/ramnathv/slidify/issues/454/events","html_url":"https://github.com/ramnathv/slidify/issues/454","id":103433593,"number":454,"title":"Duplication of header when adding custom slide background","user":{"login":"sachinsancheti1","id":6279770,"avatar_url":"https://avatars.githubusercontent.com/u/6279770?v=3","gravatar_id":"","url":"https://api.github.com/users/sachinsancheti1","html_url":"https://github.com/sachinsancheti1","followers_url":"https://api.github.com/users/sachinsancheti1/followers","following_url":"https://api.github.com/users/sachinsancheti1/following{/other_user}","gists_url":"https://api.github.com/users/sachinsancheti1/gists{/gist_id}","starred_url":"https://api.github.com/users/sachinsancheti1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sachinsancheti1/subscriptions","organizations_url":"https://api.github.com/users/sachinsancheti1/orgs","repos_url":"https://api.github.com/users/sachinsancheti1/repos","events_url":"https://api.github.com/users/sachinsancheti1/events{/privacy}","received_events_url":"https://api.github.com/users/sachinsancheti1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-27T05:43:07Z","updated_at":"2015-08-27T18:59:06Z","closed_at":"2015-08-27T18:59:06Z","body":"I used a solution you gave on [stackoverflow](http://stackoverflow.com/questions/22567127/slidify-how-to-customize-a-slide-background) to create a custom picture background, but in the process I found that the header of the slide duplicates the header. The resulting slide gives me 2 headers in the file, one in the hgroup tag, and another h2 within the article tag. I am guessing there is a bug here.\r\n\r\n<slide class=\"current\" id=\"slide-3\" style=\"background:\" .=\"\" assets=\"\" img=\"\" picture1.png\";\"=\"\" data-slide-num=\"5\" data-total-slides=\"16\">\r\n  <hgroup>\r\n    <h2>Header</h2>\r\n  </hgroup>\r\n  <article data-timings=\"\">\r\n    \r\n<h2>Header</h2>\r\n\r\n<p>Losen ipsum..</p>"},"comment":{"url":"https://api.github.com/repos/ramnathv/slidify/issues/comments/135523805","html_url":"https://github.com/ramnathv/slidify/issues/454#issuecomment-135523805","issue_url":"https://api.github.com/repos/ramnathv/slidify/issues/454","id":135523805,"user":{"login":"ramnathv","id":346288,"avatar_url":"https://avatars.githubusercontent.com/u/346288?v=3","gravatar_id":"","url":"https://api.github.com/users/ramnathv","html_url":"https://github.com/ramnathv","followers_url":"https://api.github.com/users/ramnathv/followers","following_url":"https://api.github.com/users/ramnathv/following{/other_user}","gists_url":"https://api.github.com/users/ramnathv/gists{/gist_id}","starred_url":"https://api.github.com/users/ramnathv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramnathv/subscriptions","organizations_url":"https://api.github.com/users/ramnathv/orgs","repos_url":"https://api.github.com/users/ramnathv/repos","events_url":"https://api.github.com/users/ramnathv/events{/privacy}","received_events_url":"https://api.github.com/users/ramnathv/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T18:59:06Z","updated_at":"2015-08-27T18:59:06Z","body":"You need to use `{{{ slide.content }}}` in your `custbg` template. It is a template that inherits from the default `slide` template. `{{{ slide.html }}}` contains all the html on the page and so using that leads to duplication of the header. `{{{ slide.content }}}` only replaces the content, leaving the header as is. You will find more information on slide level properties [here](https://github.com/ramnathv/slidify/wiki/Properties)."}}