Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get tags to show up in portfolio page #8

Closed
sebescudie opened this issue Oct 15, 2020 · 2 comments
Closed

Cannot get tags to show up in portfolio page #8

sebescudie opened this issue Oct 15, 2020 · 2 comments

Comments

@sebescudie
Copy link

sebescudie commented Oct 15, 2020

Hello there!

There's something I don't get with the way tags are handled in the portfolio list page. This the content of my data/portfolio.yml :

portfolio:
  filter:
    - label: plugin
      value: plugin
    - label: commercial
      value: commercial
    - label: installation
      value: installation
    - label: backend
      value: backend
    - label: software
      value: software
    - label: teaching
      value: teaching
    - label: hardware
      value: hardware

And in one of my portfolio's article, I set the header as so :

categories = ["backend", "hardware"]

Though in the portfolio list page, I only get the All tag, the others do not show up (I would have expected "backend" and "hardware" buttons).

Have I missed something?

Thanks!

EDIT: looks related to #5

@samrobbins85
Copy link
Owner

Sorry, I should have left an example, or maybe the docs are wrong. The portfolio.yml root key should be filter, like this

filter:
  - label: Web Dev
    value: web-dev

@sebescudie
Copy link
Author

Oh, sure, thanks! Don't know where I got that from :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants