Open katesowles opened 4 years ago
[ ] figure out if/how to get Hugo to properly note an acronyms and abbreviation in a taxonomy term and allow users to define term objects, perhaps like this:
{ term: 'ADHD', description: 'Attention Deficit Hyperactivity Disorder' }, { term: 'Anxiety' } { term: 'Depression' }
[ ] if a term includes a description, it could be rendered like this:
<a class="post-tag" href="{{ "./tags/" | relLangURL }}{{ . | urlize }}"> {{- if eq . "ADHD" -}} <abbr title="Attention Deficit Hyperactivity Disorder"> {{- replace . " " "\u00A0" -}}</a> </abbr> {{- else -}} {{- replace . " " "\u00A0" -}} {{- end -}} </a>
which doesn't look too bad with existing styles:
Hugo's taxonomies page: https://gohugo.io/content-management/taxonomies/ possible solution, taxonomy metadata: https://gohugo.io/content-management/taxonomies/#add-custom-metadata-to-a-taxonomy-term
[ ] figure out if/how to get Hugo to properly note an acronyms and abbreviation in a taxonomy term and allow users to define term objects, perhaps like this:
[ ] if a term includes a description, it could be rendered like this:
which doesn't look too bad with existing styles:
Hugo's taxonomies page: https://gohugo.io/content-management/taxonomies/ possible solution, taxonomy metadata: https://gohugo.io/content-management/taxonomies/#add-custom-metadata-to-a-taxonomy-term