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
ce53c243
Commit
ce53c243
authored
Dec 29, 2020
by
Manzar Hussain
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-theme' into 'develop'
add sidebar See merge request manzarH/dic-global-dev!113
parents
3ce9a374
fd0c7209
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletions
+22
-1
envigo.info.yml
themes/custom/envigo/envigo.info.yml
+2
-0
page.html.twig
themes/custom/envigo/templates/layout/page.html.twig
+20
-1
No files found.
themes/custom/envigo/envigo.info.yml
View file @
ce53c243
...
...
@@ -20,6 +20,8 @@ regions:
content_top
:
Content Top
content
:
Content
content_bottom
:
'
Content
Bottom'
sidebar_first
:
First sidebar_first
sidebar_second
:
Second sidebar
footer_top
:
Footer Top
footer
:
Footer
footer_first
:
'
Footer
first'
...
...
themes/custom/envigo/templates/layout/page.html.twig
View file @
ce53c243
...
...
@@ -84,7 +84,26 @@
{%
endif
%}
{{
page.content
}}
{{
page.content
}}
{%
if
page.sidebar_first
%}
<div
id=
"sidebar-first"
class=
"column sidebar"
>
<aside
class=
"section"
role=
"complementary"
>
{{
page.sidebar_first
}}
</aside>
</div>
{%
endif
%}
{%
if
page.sidebar_second
%}
<div
id=
"sidebar-second"
class=
"column sidebar"
>
<aside
class=
"section"
role=
"complementary"
>
{{
page.sidebar_second
}}
</aside>
</div>
{%
endif
%}
<!-- <div class="layout-container">
<div class="layout-content">
{#
{{
page.content }} #}
...
...
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