Organising your content

·
By Ghost
·

Ghost has a flexible organisational taxonomy called tags which can be used to configure your site structure using dynamic routing.

Basic Tagging

You can think of tags like Gmail labels. By tagging posts with one or more keyword, you can organise articles into buckets of related content.

When you create content for your publication you can assign tags to help differentiate between categories of content.

For example you may tag some content with  News and other content with Podcast, which would create two distinct categories of content listed on /tag/news/ and /tag/weather/, respectively.

If you tag a post with both News and Weather - 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, their own RSS feeds, and can support their own cover images and meta data.

The primary tag

Inside the Ghost editor, you can drag and drop tags into a specific order. 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.

News, Technology, Startup

So you can add the most important tag which you want to show up in your theme, but also add related tags which are less important.

Private tags

Sometimes you may want to assign a post a specific tag, but you don't necessarily want that tag appearing in the theme or creating an archive page. In Ghost, hashtags are private and can be used for special styling.

For example, if you sometimes publish posts with video content - you might want your theme to adapt and get rid of the sidebar for these posts, to give more space for an embedded video to fill the screen. In this case, you could use private tags to tell your theme what to do.

News, #video

Here, the theme would assign the post publicly displayed tags of News - but it would also keep a private record of the post being tagged with #video. In your theme, you could then look for private tags conditionally and give them special formatting.

You can find documentation for theme development techniques like this and many more over on Ghost's extensive theme documentation.

Dynamic Routing

Dynamic routing gives you the ultimate freedom to build a custom publication to suit your needs. Routes are rules that map URL patterns to your content and templates.

For example, you may not want content tagged with News to exist on: example.com/tag/news. Instead, you want it to exist on example.com/news .

In this case you can use dynamic routes to create customised collections of content on your site. It's also possible to use multiple templates in your theme to render each content type differently.

There are lots of use cases for dynamic routing with Ghost, here are a few common examples:

  • Setting a custom home page with its own template
  • Having separate content hubs for blog and podcast, that render differently, and have custom RSS feeds to support two types of content
  • Creating a founders column as a unique view, by filtering content created by specific authors
  • Including dates in permalinks for your posts
  • Setting posts to have a URL relative to their primary tag like example.com/europe/story-title/
Dynamic routing can be configured in Ghost using YAML files. Read our dynamic routing documentation for further details.

You can further customise your site using Apps & Integrations.

Share

Articles

Post title here
1 min read
A wonderful serenity has taken possession of my entire soul, like these sweet mornings of spring which I enjoy with my whole heart. I am alone, and feel the charm of existence in this spot, which was created for the bliss of souls like mine.I am so happy, my
Published in Getting Started
Apple Park Visitor Center
1 min read
The Visitor Center along Tantau Avenue, designed as an exclusive public gateway to Apple Park, it features an expansive roof terrace with stunning views of the main building that offers a unique glimpse into Apple Park. Nestled within a carefully planted olive grove, an exceptionally transparent envelope sits below a
Published in Design
Theme styling guide
3 min read
All bearing night. Morning make. Creepeth behold saw. Created a own that. Hath green saw their that bearing a gathering shall face, likeness signs yielding life had god fly. Herb whales shall made upon whales blessed. Living their hath lesser brought were yielding called our moved firmament seasons first In.
Published in Getting Started
Welcome to Ghost
1 min read
Welcome, it's great to have you here. We know that first impressions are important, so we've populated your new site with some initial getting started posts that will help you get familiar with everything in no time.
Published in Getting Started
Writing posts with Ghost ✍️
1 min read
Getting started with the editor is simple, with familiar formatting options in a functional toolbar and the ability to add dynamic content seamlessly.
Published in Getting Started
Publishing options
2 min read
The Ghost editor has everything you need to fully optimise your content. This is where you can add tags and authors, feature a post, or turn a post into a page.
Published in Getting Started
Managing admin settings
2 min read
There are a couple of things to do next while you're getting set up: making your site private and inviting your team.
Published in Getting Started
Organising your content
2 min read
Ghost has a flexible organisational taxonomy called tags which can be used to configure your site structure using dynamic routing.
Published in Getting Started
Apps & integrations
1 min read
There are three primary ways to work with third-party services in Ghost: using Zapier, editing your theme, or using the Ghost API.
Published in Getting Started
Creating a custom theme
1 min read
Ghost comes with a beautiful default theme called Casper, which is designed to be a clean, readable publication layout and can be easily adapted for most purposes.
Published in Getting Started