tdwg / website-migration-2022

Website migration 2022
0 stars 0 forks source link

Tags #5

Closed peterdesmet closed 1 year ago

peterdesmet commented 2 years ago

@peterdesmet is there a replacement concept for tags? We don't currently have a good list of keywords (that I know of) used for these, but that also may account for lack of good use for this type of feature.

Originally posted by @gkampmeier in https://github.com/tdwg/website-jekyll/issues/4#issuecomment-1312555547

peterdesmet commented 2 years ago

Jekyll supports both tags and categories, but we'll indeed have to see if they are actually used on the current website. I think there is tag functionality for:

gkampmeier commented 2 years ago

I like that categories are actually functional as filters--in this case, I'm not sure what we would use tags for if they don't have this functionality. We need to develop and post a (working) controlled vocabulary available to website developers as a reminder of what can/should be used.

peterdesmet commented 2 years ago

Note: I have now renamed them as tags (rather than categories), so post content won't have to be updated.

gkampmeier commented 2 years ago

@peterdesmet in looking at the Community page, I noticed that the term tag(s) is used to pop in interest and task groups (as part of the header information)

tags: tag_sections: Interest group, Task group template: page_tag_sections

and that these tag links to tiled content (e.g., https://www.tdwg.org/community/#interest-group) use the hyphen rather than "%20" for spaces, whereas the links above those for Community support fund, for example, still use https://www.tdwg.org/community/#community%20support%20fund. I don't know if this screws up your renaming of categories to tags...?

peterdesmet commented 1 year ago

Tags are no longer used for pages, but are kept for posts. Overview pages such as Standards and Community list pages as defined in the frontmatter metadata, e.g. https://github.com/tdwg/website/blob/master/standards/index.md?plain=1#L12-L35