You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website_and_docs/layouts/shortcodes/alert-code.html
+5-1
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,11 @@
1
1
{{ $code := .Site.Language }}
2
2
{{ $p1 := "This section could use some updated code examples" }}
3
3
{{ $p2 := printf "%s" .Inner }}
4
-
{{ $p3 := printf "Check our [contribution guidelines](/documentation/about/contributing/) and [code example formats](/documentation/about/style#code-examples) if you'd like to help." }}
4
+
{{ $p3 := printf "Check our [contribution guidelines](/%s/documentation/about/contributing/) and [code example formats](/%s/documentation/about/style#code-examples) if you'd like to help." $code $code }}
5
+
{{ if in $code "en" }}
6
+
{{ $p3 = printf "Check our [contribution guidelines](/documentation/about/contributing/) and [code example formats](/documentation/about/style#code-examples) if you'd like to help." }}
0 commit comments