Sensible 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/podcast/, respectively.

例如,您可以将一些内容标记为News,将其他内容标记为Podcast,这将创建两个不同类别的内容,分别列在/tag/ News /和/tag/ Podcast /上。

If you tag a post with both News and Podcast - 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 docs.

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.


You may not want content tagged with News to exist on: Instead, you want it to exist on .


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
Dynamic routing can be configured in Ghost using YAML files. Read our dynamic routing documentation for further details.


  • 使用自己的模板设置自定义主页
  • 为blog和podcast提供独立的内容hub,呈现方式不同,并提供定制的RSS提要来支持两种类型的内容
  • 通过过滤特定作者创建的内容,将founders列创建为一个独特的视图
  • 在文章的永久链接中包括日期
  • 将文章设置为相对于其主要标签的URL,如

Next: Apps & Integrations


Work with all your favourite apps and tools using our integrations, or create your own custom integrations with webhooks.