mirror of
https://github.com/klaussilveira/gitlist.git
synced 2026-02-16 11:37:29 +01:00
@@ -19,6 +19,10 @@
|
||||
</div>
|
||||
{% if fileType == 'image' %}
|
||||
<center><img src="{{ path('blob_raw', {repo: repo, branch: branch, file: file}) }}" alt="{{ file }}" class="image-blob" /></center>
|
||||
|
||||
{% elseif fileType == 'markdown' %}
|
||||
<div class="readme-view"><div id="readme-content">{{ blob }}</div></div>
|
||||
|
||||
{% else %}
|
||||
<pre id="sourcecode" language="{{ fileType }}">{{ blob }}</pre>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user