Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
uw_fdsu_theme_resp
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_fdsu_theme_resp
Commits
089518ec
Commit
089518ec
authored
9 months ago
by
Eric Bremner
Committed by
Kevin Paxman
9 months ago
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-6929: removing setting UW from template to preprocess
parent
ffea286f
No related branches found
No related tags found
1 merge request
!126
ISTWCMS-6929: adding UW to page title
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
templates/page/html.html.twig
+0
-3
0 additions, 3 deletions
templates/page/html.html.twig
uw_fdsu_theme_resp.theme
+3
-0
3 additions, 0 deletions
uw_fdsu_theme_resp.theme
with
3 additions
and
3 deletions
templates/page/html.html.twig
+
0
−
3
View file @
089518ec
...
@@ -27,9 +27,6 @@
...
@@ -27,9 +27,6 @@
not
root_path
?
'front'
:
'not-front'
,
not
root_path
?
'front'
:
'not-front'
,
node_type
?
'node-page node-page--node-type-'
~
node_type
|
clean_class
,
node_type
?
'node-page node-page--node-type-'
~
node_type
|
clean_class
,
]
%}
]
%}
{%
set
head_title
=
head_title
|
merge
(
{
'uw'
:
'University of Waterloo'
}
)
%}
<!DOCTYPE html>
<!DOCTYPE html>
<html
{{
html_attributes
}}
class=
"no-js"
>
<html
{{
html_attributes
}}
class=
"no-js"
>
<head>
<head>
...
...
This diff is collapsed.
Click to expand it.
uw_fdsu_theme_resp.theme
+
3
−
0
View file @
089518ec
...
@@ -105,6 +105,9 @@ function uw_fdsu_theme_resp_preprocess_html(&$variables) {
...
@@ -105,6 +105,9 @@ function uw_fdsu_theme_resp_preprocess_html(&$variables) {
else
{
else
{
$variables
[
'attributes'
][
'class'
][]
=
'layout-page'
;
$variables
[
'attributes'
][
'class'
][]
=
'layout-page'
;
}
}
// Add UW to page title, if not already there.
_uw_add_page_title
(
$variables
);
}
}
/**
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment