{% extends "repo/base.html" %} {% block head %} {% if let Some(readme) = readme %} {% if readme.0 == crate::git::ReadmeFormat::Markdown %} {% endif %} {% endif %} {% endblock %} {% block about_nav_class %}active{% endblock %} {% block content %} {% if let Some(readme) = readme %} {% match readme.0 %} {% when crate::git::ReadmeFormat::Markdown %} {{ readme.1|safe }} {% when crate::git::ReadmeFormat::Plaintext %}
{{ readme.1 }}
{% endmatch %} {% else %} No README in repository HEAD. {% endif %} {% endblock %}