{% extends "base.html" %} {% block content %} {% include "repo_nav.html" %} {% include "crumbs.html" %}

{% for fact in facts %}{% if !loop.first %} ยท {% endif %}{{ fact }}{% endfor %}

{%- if let Some(toggle) = toggle %} {%- endif %} Raw Download
{%- match body %} {%- when Body::Code with { lines } %}
{%- for line in lines.iter() %} {%- endfor %}
{{ loop.index }}{{ line|safe }}
{%- when Body::Markdown with { html } %}
{{ html|safe }}
{%- when Body::Image with { src } %}
{{ here.as_deref().unwrap_or_default() }}
{%- when Body::Symlink with { target, url } %}

Symlink to {% if let Some(url) = url %}{{ target }}{% else %}{{ target }}{% endif %}

{%- when Body::Binary %}

[Binary file]

{%- when Body::TooLarge %}

[Too large to display] View raw

{%- when Body::Empty %}

[Empty file]

{%- endmatch %} {% endblock %}