From d2eff4ae1597776d2f728dcfdb24aaa08e9de2b6 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Wed, 12 Feb 2025 02:02:17 +0800 Subject: render_readme.go: Render plain READMEs too --- templates/repo_index.html.tmpl | 2 +- templates/repo_tree_dir.html.tmpl | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'templates') diff --git a/templates/repo_index.html.tmpl b/templates/repo_index.html.tmpl index 47c6381..de2d1da 100644 --- a/templates/repo_index.html.tmpl +++ b/templates/repo_index.html.tmpl @@ -62,7 +62,7 @@ - + diff --git a/templates/repo_tree_dir.html.tmpl b/templates/repo_tree_dir.html.tmpl index 07a8df5..dd5ecaf 100644 --- a/templates/repo_tree_dir.html.tmpl +++ b/templates/repo_tree_dir.html.tmpl @@ -39,9 +39,7 @@
- + -- cgit v1.2.3
- README.md - {{ .readme_filename }}