ghost-caffeine-theme icon indicating copy to clipboard operation
ghost-caffeine-theme copied to clipboard

Remove our hacky implementation of "Tags"

Open kelyvin opened this issue 6 years ago • 2 comments

As the title states, with the latest Ghost version, we no longer need our hacky management of tags. Leverage Ghost's setup instead.

kelyvin avatar Feb 23 '19 23:02 kelyvin

Can you elaborate more on this? Where do you want the tag implementation to change? post.hbs or tag.hbs

BaankeyBihari avatar Feb 28 '19 11:02 BaankeyBihari

I was referring to the tags overlay that appears when you click on the search button on the top right-hand corner of the page.

The list of tags that appears is hard coded from the following code setting:

var tag_names = ['code', 'career'];

I want to remove this hard-coded array of tags, and instead pull the list of registered tags from ghost's content API.

This will be a step away from how this theme was implemented (which assumes no API is provided by Ghost), but it'll be for the better. This will serve as the starting point for all future API integrations.

kelyvin avatar Mar 07 '19 08:03 kelyvin