From 48e5cd68a2f75afa03ae71e9f283ba3c92da6b5a Mon Sep 17 00:00:00 2001 From: Brian Canini <canini.16@osu.edu> Date: Mon, 11 May 2020 14:41:20 -0400 Subject: [PATCH] updating gallery url in taxonomy --- .../asc_bootstrap/templates/node/node--gallery.html.twig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/themes/asc_bootstrap/templates/node/node--gallery.html.twig b/web/themes/asc_bootstrap/templates/node/node--gallery.html.twig index a91736ce4f..e5d332c496 100644 --- a/web/themes/asc_bootstrap/templates/node/node--gallery.html.twig +++ b/web/themes/asc_bootstrap/templates/node/node--gallery.html.twig @@ -91,7 +91,7 @@ {% for item in content.field_gallery_terms_1 %} {% if item['#title'] %} <div class="taxonomy-news"> - <a href="/gallery-directory?field_gallery_terms_1_target_id={{ item['#url']|render|split('/')|last }}"> + <a href="/gallery?field_gallery_terms_1_target_id={{ item['#url']|render|split('/')|last }}"> {{ item['#title'] }} </a> </div> @@ -101,7 +101,7 @@ {% for item in content.field_gallery_terms_2 %} {% if item['#title'] %} <div class="taxonomy-news"> - <a href="/gallery-directory?field_gallery_terms_2_target_id={{ item['#url']|render|split('/')|last }}"> + <a href="/gallery?field_gallery_terms_2_target_id={{ item['#url']|render|split('/')|last }}"> {{ item['#title'] }} </a> </div> @@ -111,7 +111,7 @@ {% for item in content.field_gallery_terms_3 %} {% if item['#title'] %} <div class="taxonomy-news"> - <a href="/gallery-directory?field_gallery_terms_3_target_id={{ item['#url']|render|split('/')|last }}"> + <a href="/gallery?field_gallery_terms_3_target_id={{ item['#url']|render|split('/')|last }}"> {{ item['#title'] }} </a> </div> -- GitLab