Skip to content

Commit 729d7be

Browse files
authored
Merge pull request #8530 from mendix/MvM-NoTranslate404
Remove translation from 404 page
2 parents d7d227f + 20a2e93 commit 729d7be

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

layouts/partials/hooks/head-end.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@
99
<link rel="canonical" href="{{ .Permalink }}">
1010
{{- end -}}
1111
<!-- MvM: Add Javascript for Japanese translation -->
12-
<script src="https://d.shutto-translation.com/trans.js?id=1806"></script>
12+
<!-- MvM: Only if page has a title -->
13+
{{- with .Params.title -}}
14+
<script src="https://d.shutto-translation.com/trans.js?id=1806"></script>
15+
{{- end -}}

0 commit comments

Comments
 (0)