Problem/Motivation

Proposed resolution

  • Render the default tags field content and into the full default node template.

Olivero Tags/Categories component

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Comments

proeung created an issue. See original summary.

shailesh.bhosale’s picture

@proeung, I did not get the proposed solution.

field--node--field-tags.html.twig is already rendered under node.html.twig.

Does it mean to simple style the tags/categories as per design?

Or do we also have to edit the twig file to have few more classes and then style it as per design?

I am also not sure what does label 'published in' mean. Will this be hard coded or will it be replaced with category name?

kostyashupenko’s picture

Assigned: Unassigned » kostyashupenko
kostyashupenko’s picture

Assigned: kostyashupenko » Unassigned
Status: Active » Needs review
StatusFileSize
new6.25 KB
hansa11’s picture

The patch fails to apply for me.

kostyashupenko’s picture

StatusFileSize
new5.13 KB

Patch rerolled

proeung’s picture

Status: Needs review » Reviewed & tested by the community

@kostyashupenko Your patch looks great! I have to reroll the patch so that it has the changes that we pushed up recently. I also added the san-serif font family variable to the `.field-tags` because it was inheriting the serif typeface from the body class (see below).

+++ b/css/src/components/tags.css
@@ -0,0 +1,66 @@
+.field-tags {
   font-family: var(--font-sans);

Overall, everything looks great and working as intended. Your code has been merged/credited. Thanks for working on this issue.

@shailesh.bhosale and @hansa11 Thank you both for reviewing this issue as well.

proeung’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.