Source theme - categories

Does Source Ghost theme have a categories page out of the box?

I don’t understand exactly what you mean? Can you elaborate?

Like a page with a list of tags or collections?

1 Like

Nope. But it’d be an hour of work to build one, if someone wanted to fund it.

1 Like

HI, I created a category page for my blog on source theme. You can take it. although don’t blindly use my zip, it has some social profiles hardcoded. You need to modify the social-box.hbs for putting your own social links. otherwise if should work, although, I might be leaving some CSS, I cant remember, let me know if it does not work. I will find the missing CSS.

https://cdn-cf.shounak.in/source.zip

basically that custom-tags.hbs is the theme for category page. Create any page and name it categories/tag/or whatever you want, then select tags as the page’s theme.

this is the skeleton, that remains now, It used to look okay on live site.

3 Likes

Hi @cathy_sarisky. Are you saying there is no ‘Tag Collections’ feature with the Source theme where a page is automatically created for posts that have the same tag? You would think the Ghost manual would disclose that when Source is the default theme.

Source definitely has a collection for each tag. I was saying that there wasn’t a page built into source that would display cards/links for all your tags, like some other themes include.

Thanks. I ask because when I view a tag using the Source theme, I get a 404 page.

So tag pages only work if 1) the tag is public (doesn’t start with #) and 2) the tag has been applied to at least one published post. Is that true for you?

1 Like

Got it. Post hasn’t been published yet. Still would be nice to see it unpublished, again since manual doesn’t state otherwise.
I assume # goes away when it is?

No. A # means that a tag is an ‘internal’ or private tag, and will never result in a page for /tag/#yourtagname.

If you want to be able to have /tag/yourtagname, make sure your tag name doesn’t start with #. That’s included in the documentation you linked, down at the bottom. :) If you think it could be clearer, you might let Ghost Pro support know, if you’re hosting with them.

1 Like