Clean

Tag based responsive Ghost theme.

Manual Installation

We need to setup clean manually because listing tag posts is currently not possible in ghost. For more information check it out ErisDS's answer on stackoverflow.

Here is the sample code about how to get all posts in specific tag;

<a id="Networking"></a>
<h2>Networking</h2>
{{#get "posts" filter="tags:networking"}}
	{{#foreach posts}}
	<h3>
		<a href="{{url}}">{{title}}</a>
		<span class="main-time">
			<time class="post-date" datetime="{{date format='YYYY-MM-DD'}}">{{date format="DD MMM YYYY"}}</time>
		</span>
	</h3>
	{{/foreach}}
{{/get}}

We need to edit get function for our tags.

{{#get "posts" filter="tags:networking"}}

Change the tags property for listing post in specific tag. In this example currently I'm listing all posts in networking tag. If you wanna limit the count of post we can use limit property.

{{#get "posts" filter="tags:networking" limit="5"}}

We used semicolons because limit is a string. For more information check ghost docs.

And thats it.

Screenshots


GitHub