Parent: [8e02ea] (diff)

Child: [e98c8d] (diff)

Download this file

tree.html    22 lines (18 with data), 603 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
{% extends 'repo/repo_master.html' %}
{% do g.register_forge_css('css/forge/hilite.css') %}
{% block title %}
{{c.project.name}} / {{c.app.config.options.mount_label}}
/ {{commit.shorthand_id()}} {{path}}
{% endblock %}
{% block header %}
<a href="{{commit.url()}}">{{commit.shorthand_id()}}</a> /
{{lib.path_links(path.split('/')[1:-1])}}
{% endblock %}
{% block content %}
{{ clone_info(c.app.repo) }}
{{c.tree_widget.display(repo=repo, commit=commit, tree=tree, path=path)}}
{% if tree.readme() %}
<h1>Read Me</h1>
{{g.markdown.convert(tree.readme())|safe}}
{% endif %}
{% endblock %}