repos
4.4 KB raw
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>{% block title %}{% endblock %}{% if self.title() %} · {% endif %}{{ site.title }}</title>
  <meta name="description" content="{% block description %}minimal git repo browser{% endblock %}">
  {% if base_url %}<base href="{{ base_url }}">{% endif %}
  <link rel="icon" type="image/svg+xml" href="/static/favicon.svg">
  {% block extra_head %}{% endblock %}
  <link href="{{ vite_asset('static_src/index.js', 'css') }}" rel="stylesheet">
</head>
<body>
  <header class="topbar">
    <div class="container topbar__row">
      <a class="brand" href="/">
        <span class="brand-mark" aria-hidden="true">
          <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
            <line x1="22" y1="14" x2="22" y2="50" stroke="currentColor" stroke-width="3" stroke-linecap="round"/>
            <line x1="22" y1="32" x2="44" y2="50" stroke="currentColor" stroke-width="3" stroke-linecap="round"/>
            <circle cx="22" cy="14" r="6" fill="currentColor"/>
            <circle cx="22" cy="32" r="6" fill="currentColor"/>
            <circle cx="22" cy="50" r="6" fill="currentColor"/>
            <circle cx="44" cy="50" r="6" fill="currentColor"/>
          </svg>
        </span>
        <span class="brand-text">{{ site.title }}</span>
      </a>
      {% if site.tagline %}
      <span class="topbar__divider" aria-hidden="true"></span>
      <span class="tagline">{{ site.tagline }}</span>
      {% endif %}
      <nav class="topnav" aria-label="primary">
        <a href="/" class="topnav__link {% if request.path == '/' %}is-active{% endif %}">
          <span class="topnav__dot" aria-hidden="true"></span>repos
        </a>
      </nav>
    </div>
  </header>

  {% block breadcrumbs %}{% endblock %}

  <main>
    <div class="container">
      {% block main %}{% endblock %}
    </div>
  </main>

  <footer class="footer">
    <div class="container footer__grid">
      <div class="footer__about">
        <div class="footer__label">// {{ site.title }}</div>
        <p>Minimal git repo browser by
          <a href="https://isaacbythewood.com/">Isaac Bythewood</a>.
          Just enough chrome to read code: README and recent commits, tree
          and blob browsing with syntax highlighting, unified diffs per
          commit, and an Atom feed. Clone over HTTPS. Read-only,
          single-operator, no Github required.</p>
        {% if site.tagline %}<p class="footer__tagline">{{ site.tagline }}.</p>{% endif %}
      </div>
      <div class="footer__col">
        <div class="footer__label">// Pages</div>
        <ul>
          <li><a href="/">Repos</a></li>
          <li><a href="https://github.com/overshard/repos" target="_blank" rel="noopener">Source</a></li>
        </ul>
      </div>
      <div class="footer__col">
        <div class="footer__label">// Links</div>
        <ul>
          <li><a href="https://isaacbythewood.com/" target="_blank" rel="noopener">Portfolio</a></li>
          <li><a href="https://blog.bythewood.me/" target="_blank" rel="noopener">Blog</a></li>
          <li><a href="https://analytics.bythewood.me/" target="_blank" rel="noopener">Analytics</a></li>
          <li><a href="https://status.bythewood.me/" target="_blank" rel="noopener">Status</a></li>
        </ul>
      </div>
    </div>
  </footer>

  <div class="footer-bar">
    <div class="container footer-bar__row">
      <small>&copy; {{ now.year }} Isaac Bythewood · Some rights reserved</small>
      <a href="https://github.com/overshard/repos" target="_blank" rel="noopener" class="footer-bar__link" aria-label="GitHub">
        <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" fill="currentColor" viewBox="0 0 16 16">
          <path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z"/>
        </svg>
      </a>
    </div>
  </div>

  <script type="module" src="{{ vite_asset('static_src/index.js') }}"></script>
</body>
</html>