chriskyfung / amp-affiliately-jekyll-theme

An AMP-Ready Jekyll Blog Theme
https://chriskyfung.github.io/amp-affiliately-jekyll-theme/
MIT License
19 stars 12 forks source link

Tags and Categories are not working in `master` #42

Closed philippescar closed 1 year ago

philippescar commented 1 year ago

Following the configuration guide the categories and tags are not being displayed or generated.

I also checked your gh-pages branch and it seems that both categories and tags are actually new pages, not something generated via jekyll.

chriskyfung commented 1 year ago

Please refer to https://chriskyfung.github.io/amp-affiliately-jekyll-theme/plugins/#-jekyll-archives

The categories and tags pages rely on the jekyll/jekyll-archives plugin, while this plugin is not whitelisted in GitHub Pages. They will not be created if you deploy the Jekyll directly using the default GitHub Actions workflow to build and deploy your site source files.

You need to use a custom GitHub Actions to work around. Please use the .github/workflows/deploy-jekyll.yml as a template for configuring your own workflow.