随笔分类 - GHOST CMS
摘要:概述 刚接触前端的时候,师傅就给我推荐了Handlebars,自己也蛮喜欢它的语法。到现在,Handlebars都已经更新到3.0.3了,是时候重新过一遍文档了。 引入 要使用Handlebars,首先你得download,然后再页面引入,就像这样 如果你使用了模块化的管理工具,如requirejs
阅读全文
摘要:Further Reading Further Reading Where you go from here is up to you, the world is your router1 Ghost's dynamic routing system is an extremely powerful
阅读全文
摘要:Properties Properties This is a full list of all the available properties that can be used within your routes.yaml config file to manipulate your URL
阅读全文
摘要:Redirects Redirects In addition to creating routes, you can also create redirects for any time there are any changes in your URLs and you need to forw
阅读全文
摘要:Channels Channels If you want something more flexible than taxonomies, but less rigid than collections, then channels might be for you. A channel is a
阅读全文
摘要:Content Taxonomies Content Taxonomies Taxonomies are groupings of posts based on a common relation. In Ghost, this is always defined by the post's aut
阅读全文
摘要:Content Collections Content Collections Collections are the backbone of how posts on a Ghost site are organised, as well as what URLs they live on. Yo
阅读全文
摘要:Custom Routes Custom Routes Template routes allow you to map individual URLs to specific template files within a Ghost theme. For example: make /custo
阅读全文
摘要:Google AMP Google AMP Ghost supports AMP Accelerated Mobile Pages for the posts in your publication. Overview The AMP project is a Google led initiati
阅读全文
摘要:URLs & Dynamic Routing URLs & Dynamic Routing Routing is the system which maps URL patterns to data and templates within Ghost. It comes pre-configure
阅读全文
摘要:Responsive Images Responsive Images Optimise the performance of your site by outputting images at different sizes depending on where they appear Overv
阅读全文
摘要:Editor Editor The open-source Ghost editor is robust and extensible. 开源Ghost编辑器是健壮的和可扩展的。 Overview More than just a formatting toolbar, the rich editi
阅读全文
摘要:Utility Helpers Utility Helpers Utility helpers are used to perform minor, optional tasks. Use this reference list to discover what each handlebars he
阅读全文
摘要:Data Helpers Data Helpers Data helpers are used to output data from your site. Use this reference list to discover what each handlebars helper can do
阅读全文
摘要:Functional Helpers Functional Helpers Functional helpers are used to work with data objects. Use this reference list to discover what each handlebars
阅读全文
摘要:Tag Tag Use: {{#is "tag"}}{{/is}} to detect this context Description Tags in Ghost each get their own page which lists out the associated posts. You a
阅读全文
摘要:Author Author Functional helpers are used to work with data objects Use: {{#is "author"}}{{/is}} to detect this context Description Authors in Ghost e
阅读全文
摘要:Page Page Use: {{#is "page"}}{{/is}} to detect this context Description Whenever you're viewing a static page, you're in the page context. The page co
阅读全文
摘要:Post Post Use: {{#is "post"}}{{/is}} to detect this context 使用:{{#is "post"}}{{/is}}检测此上下文 Description Whenever you're viewing a single site post, you
阅读全文
摘要:Index Index Use: {{#is "index"}}{{/is}} to detect this context. 使用:{{#is "index"}}{{/is}}来检测这个上下文。 Description描述 index is the name for the main post l
阅读全文

浙公网安备 33010602011771号