Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
{% if content.links %}
<div class="node__links">
{{ content.links }}
</div>
{% endif %}
It still output an empty tag:
<div class="node__links"></div>
Reproduce:
1. add node
2. view node, eg node/1
3. see empty tag in source code.
Comments
Comment #1
opdaviesI can't find find references to "content.links" or "node__links" in the 8.0.x branch.
Comment #2
opdaviesComment #3
droplet CreditAttribution: droplet commentedRe-open, updated summary
Comment #4
droplet CreditAttribution: droplet commentedComment #5
opdaviesConfirmed.
Comment #6
idebr CreditAttribution: idebr commentedComment #7
bill richardson CreditAttribution: bill richardson as a volunteer commentedManage display links need to be set to visible to view the empty div as shown in report. Changed tag to theme - see related issue in #6 - div and class being displayed when no links present.
Comment #8
opdaviesThis doesn't seem to be an issue in the current version of 8.0.x.
In #2349721: Copy node templates to Classy, the node templates were changed to use the Classy theme - see commit ebea5b.