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
fd0c7209
Commit
fd0c7209
authored
Dec 29, 2020
by
Manzar Hussain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add sidebar
parent
6a7c5759
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 @
fd0c7209
...
@@ -20,6 +20,8 @@ regions:
...
@@ -20,6 +20,8 @@ regions:
content_top
:
Content Top
content_top
:
Content Top
content
:
Content
content
:
Content
content_bottom
:
'
Content
Bottom'
content_bottom
:
'
Content
Bottom'
sidebar_first
:
First sidebar_first
sidebar_second
:
Second sidebar
footer_top
:
Footer Top
footer_top
:
Footer Top
footer
:
Footer
footer
:
Footer
footer_first
:
'
Footer
first'
footer_first
:
'
Footer
first'
...
...
themes/custom/envigo/templates/layout/page.html.twig
View file @
fd0c7209
...
@@ -84,7 +84,26 @@
...
@@ -84,7 +84,26 @@
{%
endif
%}
{%
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-container">
<div class="layout-content">
<div class="layout-content">
{#
{{
page.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