Skip to content

Commit c8b5fff

Browse files
fix: add branch to revision url
Codeberg will automatically redirect if not included, but best to be precise
1 parent a81f4a7 commit c8b5fff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terminal/partials/page-content/revision.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
See revision history on <a href="{{ page.edit_url | replace('mode=edit','mode=read') }}">{{ config.repo_name }}</a>.
3333
{%- endif -%}
3434
{%- if config.repo_name == "Codeberg" -%}
35-
See revision history on <a href="{{ page.edit_url | replace('_edit','commits') }}">{{ config.repo_name }}</a>.
35+
See revision history on <a href="{{ page.edit_url | replace('_edit','commits/branch') }}">{{ config.repo_name }}</a>.
3636
{%- endif -%}
3737
{%- endif -%}
3838
</i>

0 commit comments

Comments
 (0)