Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
2
Merge Requests
2
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
bootstrap
Commits
e732cb42
Unverified
Commit
e732cb42
authored
Mar 25, 2019
by
AdamPS
Committed by
markhalliwell
Mar 25, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#3038786
by AdamPS: Implement Core CR "Field rendering respects configurable field display"
parent
0cf012e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
templates/node/node.html.twig
templates/node/node.html.twig
+4
-4
No files found.
templates/node/node.html.twig
View file @
e732cb42
...
...
@@ -8,7 +8,7 @@
Only "getter" methods (method names starting with "get", "has", or "is")
and a few common methods such as "id" and "label" are available. Calling
other methods (such as node.delete) will result in an exception.
* - label: The title of the node.
* - label:
(optional)
The title of the node.
* - content: All node items. Use {{ content }} to print them all,
* or print a subset such as {{ content.field_example }}. Use
* {{ content|without('field_example') }} to temporarily suppress the printing
...
...
@@ -16,8 +16,8 @@
* - author_picture: The node author user entity, rendered using the "compact"
* view mode.
* - metadata: Metadata for this node.
* - date: Themed creation date field.
* - author_name: Themed author name field.
* - date:
(optional)
Themed creation date field.
* - author_name:
(optional)
Themed author name field.
* - url: Direct URL of the current node.
* - display_submitted: Whether submission information should be displayed.
* - attributes: HTML attributes for the containing element.
...
...
@@ -78,7 +78,7 @@
<article
{{
attributes.addClass
(
classes
)
}}
>
{{
title_prefix
}}
{%
if
not
page
%}
{%
if
label
and
not
page
%}
<h2
{{
title_attributes
}}
>
<a
href=
"
{{
url
}}
"
rel=
"bookmark"
>
{{
label
}}
</a>
</h2>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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