Application Template

You have access to the blog service and a now attbute

blog

  • Key: title, Value: Ember Ghost, Type: string
  • Key: description, Value: Static Blog System - Built with Ember, Type: string
  • Key: logo, Value: , Type: undefined
  • Key: coverImage, Value: /images/blog-cover.jpg, Type: string
  • Key: coverMeta, Value: , Type: undefined
  • Key: navigation, Value: [object Object],[object Object], Type: object
  • Key: twitter, Value: , Type: undefined
  • Key: facebook, Value: , Type: undefined
  • Key: host, Value: , Type: undefined

now

first navigation object:

link to each navigation:

Post Page

model is a hash of post which is the current post and posts which is all posts

post:

  • Key: title, Value: Organising your content with tags, Type: string
  • Key: content, Value: Ember Ghost has a single, powerful organisational taxonomy, called tags. It doesn't matter whether you want to call them categories, tags, boxes, or anything else. You can think of tags a lot like Gmail labels. By tagging posts with one or more keyword, you can organise articles into buckets of related content. ## Basic tagging When you write a post, you can assign tags to help differentiate between categories of content. For example, you might tag some posts with `News` and other posts with `Cycling`, which would create two distinct categories of content listed on `/tag/news/` and `/tag/cycling/`, respectively. If you tag a post with both `News` *and* `Cycling` - then it appears in both sections. Tag archives are like dedicated home-pages for each category of content that you have. They have their own pages and [hopefully soon](https://github.com/stonecircle/ember-ghost/issues/1) will support their own cover images and meta data. ## The primary tag At the top of every post there is a tiny bit of YAML, and the tags key is an [array](http://yaml.org/spec/1.0/#type-seq) of tags. The first tag in the list is always given the most importance, and some themes will only display the primary tag (the first tag in the list) by default. So you can add the most important tag which you want to show up in your theme, but also add a bunch of related tags which are less important. ```yaml tags: - news - cycling - bart-stevens - extreme-sports ``` In this example, **News** is the primary tag which will be displayed by the theme, but the post will also still receive all the other tags, and show up in their respective archives. , Type: string
  • Key: html, Value: <p>Ember Ghost has a single, powerful organisational taxonomy, called tags.</p> <p>It doesn't matter whether you want to call them categories, tags, boxes, or anything else. You can think of tags a lot like Gmail labels. By tagging posts with one or more keyword, you can organise articles into buckets of related content.</p> <h2 id="basictagging">Basic tagging</h2> <p>When you write a post, you can assign tags to help differentiate between categories of content. For example, you might tag some posts with <code>News</code> and other posts with <code>Cycling</code>, which would create two distinct categories of content listed on <code>/tag/news/</code> and <code>/tag/cycling/</code>, respectively.</p> <p>If you tag a post with both <code>News</code> <em>and</em> <code>Cycling</code> - then it appears in both sections.</p> <p>Tag archives are like dedicated home-pages for each category of content that you have. They have their own pages and <a href="https://github.com/stonecircle/ember-ghost/issues/1">hopefully soon</a> will support their own cover images and meta data.</p> <h2 id="theprimarytag">The primary tag</h2> <p>At the top of every post there is a tiny bit of YAML, and the tags key is an <a href="http://yaml.org/spec/1.0/#type-seq">array</a> of tags. The first tag in the list is always given the most importance, and some themes will only display the primary tag (the first tag in the list) by default. So you can add the most important tag which you want to show up in your theme, but also add a bunch of related tags which are less important.</p> <pre><code class="yaml language-yaml">tags: - news - cycling - bart-stevens - extreme-sports </code></pre> <p>In this example, <strong>News</strong> is the primary tag which will be displayed by the theme, but the post will also still receive all the other tags, and show up in their respective archives.</p>, Type: string
  • Key: image, Value: /images/tags.jpg, Type: string
  • Key: imageMeta, Value: [object Object], Type: object
  • Key: featured, Value: true, Type: boolean
  • Key: date, Value: Tue Jun 12 2018 16:57:10 GMT+0000 (UTC), Type: object
  • Key: tags, Value: getting-started, Type: object

accessing the author

you can access the author by accessing model.post.author
  • Key: name, Value: Ghost, Type: string
  • Key: image, Value: /images/ghost-icon.png, Type: string
  • Key: coverImage, Value: , Type: undefined
  • Key: coverMeta, Value: , Type: undefined
  • Key: content, Value: <dummy@model:author::ember168:ghost>, Type: object
  • Key: website, Value: https://github.com/stonecircle/ember-ghost, Type: string
  • Key: twitter, Value: , Type: object
  • Key: facebook, Value: , Type: object
  • Key: location, Value: , Type: object
  • Key: posts, Value: <DS.PromiseManyArray:ember169>, Type: object

link to the author

link to the tags