Skip to content

Commit 74165b0

Browse files
Fix branch name (#2121)
I noticed the ACME divergences link lands on a GitHub page with a warning about falling back to the default branch. This PR fixes that link, as well as the history links on the translation status page.
1 parent b89bad6 commit 74165b0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

themes/le-2021/layouts/shortcodes/docs_index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ <h1 id="{{ anchorize (i18n "client_developer_information") }}">{{ i18n "client_d
4545
<ul>
4646
<li>{{ template "link" (dict "context" . "page" "/docs/integration-guide") }}</li>
4747
<li>{{ template "link" (dict "context" . "page" "/docs/acme-protocol-updates") }}</li>
48-
<li><a href="https://github.com/letsencrypt/boulder/blob/master/docs/acme-divergences.md">{{ i18n "acme_divergences_rfc" }}</a></li>
48+
<li><a href="https://github.com/letsencrypt/boulder/blob/main/docs/acme-divergences.md">{{ i18n "acme_divergences_rfc" }}</a></li>
4949
<li>{{ template "link" (dict "context" . "page" "/docs/account-id") }}</li>
5050
</ul>
5151

themes/le-2021/layouts/shortcodes/i18n_status.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
{{ .RelPermalink }}
3131
</td>
3232
<td>
33-
<a href='https://github.com/letsencrypt/website/commits/master/content/en/{{ replace .File "\\" "/" }}'>GitHub history</a>
33+
<a href='https://github.com/letsencrypt/website/commits/main/content/en/{{ replace .File.Path "\\" "/" }}'>GitHub history</a>
3434
</td>
3535
{{ $lastmod := .Lastmod }}
3636

themes/le-2025/layouts/shortcodes/docs_index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ <h1 id="{{ anchorize (i18n "client_developer_information") }}">{{ i18n "client_d
4646
<ul>
4747
<li>{{ template "link" (dict "context" . "page" "/docs/integration-guide") }}</li>
4848
<li>{{ template "link" (dict "context" . "page" "/docs/acme-protocol-updates") }}</li>
49-
<li><a href="https://github.com/letsencrypt/boulder/blob/master/docs/acme-divergences.md">{{ i18n "acme_divergences_rfc" }}</a></li>
49+
<li><a href="https://github.com/letsencrypt/boulder/blob/main/docs/acme-divergences.md">{{ i18n "acme_divergences_rfc" }}</a></li>
5050
<li>{{ template "link" (dict "context" . "page" "/docs/account-id") }}</li>
5151
</ul>
5252

themes/le-2025/layouts/shortcodes/i18n_status.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
{{ .RelPermalink }}
3131
</td>
3232
<td>
33-
<a href='https://github.com/letsencrypt/website/commits/master/content/en/{{ replace .File "\\" "/" }}'>GitHub history</a>
33+
<a href='https://github.com/letsencrypt/website/commits/main/content/en/{{ replace .File.Path "\\" "/" }}'>GitHub history</a>
3434
</td>
3535
{{ $lastmod := .Lastmod }}
3636

0 commit comments

Comments
 (0)