Skip to content

Commit 63cda30

Browse files
committed
Remove translation from 404 page
1 parent 5d04fcd commit 63cda30

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)