Login
4 branches 0 tags
Ben (Desktop/Arch) Simplify user profiles 458c384 27 days ago 199 Commits
rubhub / templates / project.html
{% import "macros/markdown_content.html" as md %}
<html>
  <head>
    <title>{{ owner.name }}/{{ project.name }}</title>
  </head>

  <body>
    {% include "partials/sidebar.html" %}
    <main>
      <section>
        <div class="page-header">
          <h1 class="project-header">
            <a href="{{ owner.uri() }}">{{ owner.name }}</a> /
            <a href="{{ project.uri() }}">{{ project.name }}</a>
          </h1>
        </div>

        {% include "partials/project_tabs.html" %}

        <div class="card">
          {% include "partials/repo_bar.html" %}

          {% if let Some(info) = info %}
          {% include "partials/commit_bar.html" %}
          {% endif %}

          {% if let Some(readme_html) = readme_html %}
          {% call md::render(readme_frontmatter, readme_html) %}
          {% endif %}
        </div>
      </section>
    </main>
  </body>

</html>