Skip to content

Commit 6cb2a7b

Browse files
committed
feat(initial): third content pass
1 parent d69e85d commit 6cb2a7b

File tree

12 files changed

+41
-5
lines changed

12 files changed

+41
-5
lines changed

assets/scss/_nav.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Navbar
2+
13
.td-navbar-cover {
24
background: $primary;
35

@@ -108,3 +110,13 @@
108110
}
109111
}
110112
}
113+
114+
// Sidebar Nav
115+
116+
.td-sidebar-nav {
117+
.dropdown {
118+
.nav-link {
119+
padding: 0.5rem 1.5rem !important;
120+
}
121+
}
122+
}

assets/scss/_variables.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
/*
2-
32
Bootstrap variables overrides for theme.
43
See https://github.com/twbs/bootstrap/pull/23260
54
*/
65

76
@fa-font-path : "../webfonts";
87

98
// Bootstrap flags. For more, see https://getbootstrap.com/docs/4.0/getting-started/theming/
9+
1010
$enable-gradients: true !default;
1111
$enable-rounded: false !default;
1212
$enable-shadows: true !default;
1313

14-
// Theme flags.
14+
// Theme flags
1515

1616
$td-enable-google-fonts: true !default;
1717

assets/scss/_variables_project.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
2+
// Sidebar
3+
14
.td-sidebar__search {
25
margin-top: 15px;
36
}
47

8+
// Footer
9+
510
#td-block-4+section .item {
611
background-color: #333;
712
color: #ffffff;
@@ -59,10 +64,14 @@
5964
margin-top: 1.5em;
6065
}
6166

67+
// ToC
68+
6269
aside .td-toc {
6370
margin-top: 1.0em;
6471
}
6572

73+
// Table
74+
6675
table.gh-releases {
6776
display: table !important;
6877
}

content/en/docs/development/performance/postgresql/_index.en.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ resources:
1313
categories:
1414
- wxt
1515
tags:
16+
- performance
1617
- postgresql
1718
---
1819

content/en/docs/development/performance/redis/_index.en.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ resources:
1313
categories:
1414
- wxt
1515
tags:
16+
- cache
17+
- performance
1618
- redis
1719
---
1820

@@ -28,7 +30,8 @@ if (extension_loaded('redis')) {
2830
$settings['redis.connection']['scheme'] = 'http';
2931
$settings['redis.connection']['host'] = 'localhost';
3032
$settings['redis.connection']['port'] = '6379';
31-
//$settings['redis.connection']['password'] = '';
33+
$settings['redis.connection']['password'] = getenv('REDIS_PASSWORD') ?: '';
34+
$settings['redis.connection']['persistent'] = FALSE;
3235

3336
// Allow the services to work before the Redis module itself is enabled.
3437
$settings['container_yamls'][] = 'modules/contrib/redis/example.services.yml';

content/en/docs/development/performance/varnish/_index.en.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ resources:
1313
categories:
1414
- wxt
1515
tags:
16+
- cache
17+
- performance
1618
- varnish
1719
---
1820

@@ -117,6 +119,10 @@ sub vcl_deliver {
117119
unset resp.http.X-Varnish;
118120
unset resp.http.Via;
119121
122+
# Comment these for easier Drupal cache tag debugging in development.
123+
unset resp.http.Cache-Tags;
124+
unset resp.http.X-Drupal-Cache-Contexts;
125+
120126
# Add Content-Security-Policy
121127
# set resp.http.Content-Security-Policy = "default-src 'self' *.example.ca *.example.ca; style-src 'self' 'unsafe-inline' *.example.ca https://fonts.googleapis.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' *.example.ca *.adobedtm.com use.fontawesome.com blob:; connect-src 'self' *.example.ca *.omtrdc.net *.demdex.net *.everesttech.net; img-src 'self' *.example.ca *.omtrdc.net *.demdex.net *.everesttech.net data:; font-src 'self' *.example.ca https://fonts.gstatic.com";
122128
@@ -129,7 +135,7 @@ sub vcl_deliver {
129135
# }
130136
131137
# Add X-Frame-Options
132-
if (req.url ~ "^/livechat" || req.url ~ "^/(eng/|fra/)?media/") {
138+
if (req.url ~ "^/livechat" || req.url ~ "^/(en/|fr/)?entity-browser/") {
133139
set resp.http.X-Frame-Options = "SAMEORIGIN";
134140
} else {
135141
set resp.http.X-Frame-Options = "DENY";
@@ -191,7 +197,6 @@ sub vcl_synth {
191197
# synthetic(std.fileread("/data/configuration/varnish/errors/404.html"));
192198
# return (deliver);
193199
# } else
194-
195200
if (resp.status == 700) { # Respond to healthcheck
196201
set resp.status = 200;
197202
set resp.http.Content-Type = "text/plain";

content/en/docs/general/_index.en.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ categories:
1515
- wxt
1616
tags:
1717
- general
18+
- userguide
1819
---
1920

2021
Userguide for all of the general information related to the maintenance and operation of **[Drupal WxT][wxt]**.

content/en/docs/general/installation/_index.en.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ categories:
1414
- wxt
1515
tags:
1616
- composer
17+
- general
1718
- install
1819
---
1920

content/en/docs/general/releases/_index.en.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ resources:
1313
categories:
1414
- wxt
1515
tags:
16+
- general
1617
- releases
1718
---
1819

content/en/docs/general/resources/_index.en.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ resources:
1313
categories:
1414
- wxt
1515
tags:
16+
- general
1617
- resources
1718
---
1819

0 commit comments

Comments
 (0)