Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dic-global-dev
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Manzar Hussain
dic-global-dev
Commits
5303a4b6
Commit
5303a4b6
authored
Dec 30, 2020
by
Manzar Hussain
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-theme' into 'develop'
hide title See merge request manzarH/dic-global-dev!130
parents
3ed8da55
622b111b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
4 deletions
+25
-4
field.html.twig
themes/custom/envigo/templates/field/field.html.twig
+4
-4
page-title.html.twig
themes/custom/envigo/templates/layout/page-title.html.twig
+21
-0
No files found.
themes/custom/envigo/templates/field/field.html.twig
View file @
5303a4b6
...
...
@@ -55,14 +55,14 @@
{%
if
label_hidden
%}
{%
if
multiple
%}
<div
{{
attributes.addClass
(
classes
,
'field__items'
)
}}
>
{%
for
item
in
items
%}
<div
{{
item.attributes.addClass
(
'field__item'
)
}}
>
{{
item.content
}}
</div>
{{
item.attributes.addClass
(
'field__item'
)
}}
>
{{
item.content
}}
{%
endfor
%}
</div>
{%
else
%}
{%
for
item
in
items
%}
<div
{{
attributes.addClass
(
classes
,
'field__item'
)
}}
>
{{
item.content
}}
</div>
{{
attributes.addClass
(
classes
,
'field__item'
)
}}
>
{{
item.content
}}
{%
endfor
%}
{%
endif
%}
{%
else
%}
...
...
themes/custom/envigo/templates/layout/page-title.html.twig
0 → 100644
View file @
5303a4b6
{#
/**
* @file
* Default theme implementation for page titles.
*
* Available variables:
* - title_attributes: HTML attributes for the page title element.
* - title_prefix: Additional output populated by modules, intended to be
* displayed in front of the main title tag that appears in the template.
* - title: The page title, for use in the actual content.
* - title_suffix: Additional output populated by modules, intended to be
* displayed after the main title tag that appears in the template.
*
* @ingroup themeable
*/
#}
{{
title_prefix
}}
{%
if
title
%}
<h1
{{
title_attributes
}}
style=
"display: none;"
>
{{
title
}}
</h1>
{%
endif
%}
{{
title_suffix
}}
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