aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-11-16 16:41:44 +0800
committerGitHub <noreply@github.com>2024-11-16 08:41:44 +0000
commit5eebe1dc5fb29a162c51d050396fce7b14e47f4e (patch)
tree900ce606dedcc5722ee78429bbbc8eba3466b680 /templates
parente546480d0a2bbd9fcf897d7506a1efe3fa44cef3 (diff)
downloadgitea-5eebe1dc5fb29a162c51d050396fce7b14e47f4e.tar.gz
gitea-5eebe1dc5fb29a162c51d050396fce7b14e47f4e.zip
Fix and refactor markdown rendering (#32522)
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/view_file.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/view_file.tmpl b/templates/repo/view_file.tmpl
index fb5bc14fe2..89bb371e7c 100644
--- a/templates/repo/view_file.tmpl
+++ b/templates/repo/view_file.tmpl
@@ -29,7 +29,7 @@
<div class="file-header-left tw-flex tw-items-center tw-py-2 tw-pr-4">
{{if .ReadmeInList}}
{{svg "octicon-book" 16 "tw-mr-2"}}
- <strong><a class="default-link muted" href="#readme">{{.FileName}}</a></strong>
+ <strong><a class="muted" href="#readme">{{.FileName}}</a></strong>
{{else}}
{{template "repo/file_info" .}}
{{end}}