{"id":1250,"date":"2019-04-26T19:55:07","date_gmt":"2019-04-26T19:55:07","guid":{"rendered":"https:\/\/themes.estudiopatagon.com\/wordpress\/suhka-lite\/2019\/04\/26\/nosidebar\/"},"modified":"2024-03-06T16:35:26","modified_gmt":"2024-03-06T16:35:26","slug":"nosidebar","status":"publish","type":"post","link":"https:\/\/themes.estudiopatagon.com\/wordpress\/suhka-lite\/nosidebar\/","title":{"rendered":"Musical improvisation is the spontaneous music"},"content":{"rendered":"\n<p>Ghost comes with a beautiful default theme called Casper, which is designed to be a clean, readable publication layout and can be adapted for most purposes. However, <strong>Ghost <\/strong>can also be completely themed to suit your needs. Rather than just giving you a few basic settings which act as a poor <strong>proxy for code<\/strong>, we just let you write code.<\/p>\n\n\n\n<p>There are a huge range of both free and premium pre-built themes which you can get from the <a href=\"http:\/\/marketplace.ghost.org\">Ghost Theme Marketplace<\/a>, or you can create your own from scratch.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/themes.estudiopatagon.com\/wordpress\/suhka-lite\/wp-content\/uploads\/2022\/07\/6615b2a9-f69c-4ba6-b98d-2db0ff8612b2-1024x1024.webp\" alt=\"\" class=\"wp-image-1266\" style=\"width:441px;height:auto\" srcset=\"https:\/\/themes.estudiopatagon.com\/wordpress\/suhka-lite\/wp-content\/uploads\/2022\/07\/6615b2a9-f69c-4ba6-b98d-2db0ff8612b2-1024x1024.webp 1024w, https:\/\/themes.estudiopatagon.com\/wordpress\/suhka-lite\/wp-content\/uploads\/2022\/07\/6615b2a9-f69c-4ba6-b98d-2db0ff8612b2-300x300.webp 300w, https:\/\/themes.estudiopatagon.com\/wordpress\/suhka-lite\/wp-content\/uploads\/2022\/07\/6615b2a9-f69c-4ba6-b98d-2db0ff8612b2-150x150.webp 150w, https:\/\/themes.estudiopatagon.com\/wordpress\/suhka-lite\/wp-content\/uploads\/2022\/07\/6615b2a9-f69c-4ba6-b98d-2db0ff8612b2-768x768.webp 768w, https:\/\/themes.estudiopatagon.com\/wordpress\/suhka-lite\/wp-content\/uploads\/2022\/07\/6615b2a9-f69c-4ba6-b98d-2db0ff8612b2-1536x1536.webp 1536w, https:\/\/themes.estudiopatagon.com\/wordpress\/suhka-lite\/wp-content\/uploads\/2022\/07\/6615b2a9-f69c-4ba6-b98d-2db0ff8612b2-660x660.webp 660w, https:\/\/themes.estudiopatagon.com\/wordpress\/suhka-lite\/wp-content\/uploads\/2022\/07\/6615b2a9-f69c-4ba6-b98d-2db0ff8612b2.webp 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p>Ghost themes are written with a templating language called handlebars, which has a set of dynamic helpers to insert your data into template files. For example: <code>{{author.name}}<\/code> outputs the name of the current author.<\/p>\n\n\n\n<p>The best way to learn how to write your own Ghost theme is to have a look at <a href=\"https:\/\/github.com\/TryGhost\/Casper\">the source code for Casper<\/a>, which is heavily commented and should give you a sense of how everything fits together.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>default.hbs<\/code> is the main template file, all contexts will load inside this file unless specifically told to use a different template.<\/li>\n\n\n\n<li><code>post.hbs<\/code> is the file used in the context of viewing a post.<\/li>\n\n\n\n<li><code>index.hbs<\/code> is the file used in the context of viewing the home page.<\/li>\n\n\n\n<li>and so on<\/li>\n<\/ul>\n\n\n\n<p>We&#8217;ve got <a href=\"https:\/\/docs.ghost.org\/api\/handlebars-themes\/\">full and extensive theme documentation<\/a> which outlines every template file, context and helper that you can use.<\/p>\n\n\n\n<p>If you want to chat with other people making Ghost themes to get any advice or help, there&#8217;s also a <strong>themes<\/strong> section on our <a href=\"https:\/\/forum.ghost.org\/c\/themes\">public Ghost forum<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ghost comes with a beautiful default theme called Casper, which is designed to be a clean, readable publication layout and can be adapted for most&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1277,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[],"class_list":["post-1250","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-lifestyle"],"_links":{"self":[{"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/suhka-lite\/wp-json\/wp\/v2\/posts\/1250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/suhka-lite\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/suhka-lite\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/suhka-lite\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/suhka-lite\/wp-json\/wp\/v2\/comments?post=1250"}],"version-history":[{"count":1,"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/suhka-lite\/wp-json\/wp\/v2\/posts\/1250\/revisions"}],"predecessor-version":[{"id":1284,"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/suhka-lite\/wp-json\/wp\/v2\/posts\/1250\/revisions\/1284"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/suhka-lite\/wp-json\/wp\/v2\/media\/1277"}],"wp:attachment":[{"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/suhka-lite\/wp-json\/wp\/v2\/media?parent=1250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/suhka-lite\/wp-json\/wp\/v2\/categories?post=1250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/suhka-lite\/wp-json\/wp\/v2\/tags?post=1250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}