Skip to content

Commit fda3779

Browse files
go: update layout headers for various templates
1 parent 10233e6 commit fda3779

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed

src/templates/go-gotionary.twig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,22 @@
1212
]
1313
} %}
1414

15+
16+
{% block layout_header %}
17+
{% include 'partials/app-header.twig' with {
18+
title: 'GO',
19+
items: [
20+
{
21+
text: 'GOtionary',
22+
active: true
23+
},
24+
{
25+
text: 'Search Shortcuts'
26+
}
27+
]
28+
} %}
29+
{% endblock %}
30+
1531
{% block content %}
1632
<div class="go-search-results">
1733
{# {% include 'partials/pagination.twig' %} #}

src/templates/go-report.twig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,20 @@
1515
]
1616
} %}
1717

18+
{% block layout_header %}
19+
{% include 'partials/app-header.twig' with {
20+
title: 'GO',
21+
items: [
22+
{
23+
text: 'GOtionary'
24+
},
25+
{
26+
text: 'Search Shortcuts'
27+
}
28+
]
29+
} %}
30+
{% endblock %}
31+
1832
{% block content %}
1933
<form class="flagging-inappropriate-add-form flagging-form" data-drupal-selector="flagging-inappropriate-add-form" action="/flag/details/flag/inappropriate/1?check_logged_in=1" method="post" id="flagging-inappropriate-add-form" accept-charset="UTF-8">
2034
<div class="form-group col-md-12 col-xl-12 js-form-item form-item form-type-textfield js-form-type-textfield form-item-field-reason-0-value js-form-item-field-reason-0-value">

src/templates/go-shorcut-info.twig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,20 @@
1515
]
1616
} %}
1717

18+
{% block layout_header %}
19+
{% include 'partials/app-header.twig' with {
20+
title: 'GO',
21+
items: [
22+
{
23+
text: 'GOtionary'
24+
},
25+
{
26+
text: 'Search Shortcuts'
27+
}
28+
]
29+
} %}
30+
{% endblock %}
31+
1832
{% block content %}
1933
<div class="paragraphs">
2034
<div class="typography">

0 commit comments

Comments
 (0)