Hello, recently i upgraded to Drupal 8.6.2 and php 7. I am facing an issue with appearing of article links within block (newsroom page).
All the links to article pages appears as "/node/". I cross-checked every config. within cms and seems to be fine except
in the "views-view--newsroom.html.twig". Below is the code, can someone please look into this and help me with solution to the link. How can we have page title instead of node value.

<div class="views-field-newsroom item-nesscss-{{ key }}">
            <div class="field-content-newsroom">
              <div class="item-newroom item-position-{{ key }}">
                <a href="/node/{{item['#row']._entity.fields.nid.value}}" class="newsroom-cta absolute-fill" rel="next">
                  <span class="visually-hidden"> {% trans %} Read more {% endtrans %}</span>
                </a>
                <div class="content-newsroom">
                  {{ item }}
                </div>
              </div>
            </div>
          </div>

Comments

veer2017 created an issue. See original summary.

avpaderno’s picture

Priority: Critical » Normal
Status: Active » Fixed
Issue tags: -$links, -Node Link, -views template

This issue queue is for reports for drupal.org and its sub-domains. For sites you maintain/develop, ask on the forums.

Status: Fixed » Closed (fixed)

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

avpaderno’s picture