Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WCMS
uw_fdsu_theme_resp
Commits
4a5476aa
Commit
4a5476aa
authored
Jun 09, 2021
by
Eric Bremner
Committed by
Eric Bremner
Jun 17, 2021
Browse files
ISTWCMS-4704: updating node to use node card in pattern-lab
parent
1b1429e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/node/node.html.twig
View file @
4a5476aa
...
...
@@ -93,26 +93,10 @@
}
%}
{%
block
content
%}
{{
title_prefix
}}
{%
if
label
and
not
page
%}
<h2
{{
title_attributes
}}
>
<a
href=
"
{{
url
}}
"
rel=
"bookmark"
>
{{
label
}}
</a>
</h2>
{%
endif
%}
{{
title_suffix
}}
{%
if
display_submitted
%}
<footer
class=
"node__meta"
>
{{
author_picture
}}
<div
{{
author_attributes.addClass
(
'node__submitted'
)
}}
>
{%
trans
%}
Submitted by
{{
author_name
}}
on
{{
date
}}{%
endtrans
%}
{{
metadata
}}
</div>
</footer>
{%
endif
%}
<div
{{
content_attributes.addClass
(
'node__content'
)
}}
>
{{
content
}}
{%
include
'@layouts/node/node--card.twig'
with
{
'node'
:
node_data
,
}
%}
</div>
{%
endblock
%}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment