Skip to content

Latest commit

 

History

History
48 lines (27 loc) · 1.14 KB

working-with-ghost.md

File metadata and controls

48 lines (27 loc) · 1.14 KB

*How to Create A Tags List Page in Your Ghost Theme

Enable the Ghost Public API Create the Tags Static Page Create the Tags Page Theme File

*Get primary_tag name when in tag.hbs

You can definitely filter posts by tag using the {{has}} helper:

{{#foreach posts}}
  {{#has tag="news"}}
      {{> post}}
  {{/has}}
{{/foreach}}

You could add this code to a home.hbs file and it would only be used on your homepage.

Use the api: https://github.com/TryGhost/Ghost/wiki/%5BWIP%5D-API-Documentation

*How to remove link to Ghost

  • Remove it from your theme - Assuming you’re using Casper (the default theme), you need to edit default.hbs:36

*How to Add a Custom Page Template to Your Ghost Theme *How to Add a Custom Page to Your Ghost Theme

* * * * *

* * * * *