Skip to content

Commit e9e516b

Browse files
Chris Chojyemin
authored andcommitted
fix template syntax and url (#752)
1 parent a633983 commit e9e516b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/reference/themes/mongodb/layouts/partials/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
<div class="documentwrapper">
2626
<div class="bodywrapper">
2727
<div class="body">
28-
{{ if ( findRE ".*mongo-java-driver\/4.3\/(?!apidocs)" .URL ) }}
28+
{{ if ( and ( findRE ".*mongo-java-driver/4.3/driver/" .URL ) ( not ( findRE ".*/apidocs/.*" .URL ))) }}
2929
{{- partial "header/newSiteNotice.html" . -}}
3030
{{ end }}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div style="padding: 15px; margin: 20px 0px; border-width: 1px 1px 1px 0px; border-style: solid; border-radius: 6px; font-size: 14px; line-height: 20px; color: rgb(17, 97, 73); border-color: rgb(195, 231, 202) rgb(195, 231, 202) rgb(195, 231, 202) rgb(19, 170, 82); background-color: rgb(228, 244, 228);">
22
This reference documentation site is for versions of the MongoDB Java synchronous driver up to 4.3-beta.
33
<br/>
4-
See the <a style="font-weight: bold" href="https://docs.mongodb.com/drivers/java/sync/current">MongoDB Java Driver documentation site</a> for version 4.3 and later versions of the reference documentation.
4+
See the <a style="font-weight: bold" href="https://docs.mongodb.com/drivers/java/sync/current/">MongoDB Java Driver documentation site</a> for version 4.3 and later versions of the reference documentation.
55
</div>
66

0 commit comments

Comments
 (0)