mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-05 13:05:50 +01:00
Initial support for rendering asciidoc files.
This commit is contained in:
@@ -251,7 +251,7 @@ trait RepositoryViewerControllerBase extends ControllerBase {
|
||||
}
|
||||
|
||||
|
||||
private val readmeFiles = Seq("readme.md", "readme.markdown")
|
||||
private val readmeFiles = view.helpers.renderableSuffixes.map(suffix => s"readme${suffix}")
|
||||
|
||||
/**
|
||||
* Provides HTML of the file list.
|
||||
|
||||
Reference in New Issue
Block a user