private-dreamnet/dreamtime

View on GitHub
_layouts/default.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html lang="{{ site.lang | default: " en-US" }}">
  <head>

    {% if site.google_analytics %}
      <script src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}" async></script>
      <script>
        window.dataLayer = window.dataLayer || [];
        function gtag(){dataLayer.push(arguments);}
        gtag('js', new Date());
        gtag('config', '{{ site.google_analytics }}');
      </script>
    {% endif %}

  <!-- Google Tag Manager -->
  <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
    'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,'script','dataLayer','GTM-WCRW2K5');</script>
    <!-- End Google Tag Manager -->

    <meta charset="UTF-8">
    <meta name="robots" content="noindex" />

{% seo %}
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="theme-color" content="#d67411">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <link href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}" rel="stylesheet">
  </head>
  <body>
    <header class="page-header" role="banner">
      <h1 class="project-name">{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
      <h2 class="project-tagline">{{ page.description | default: site.description | default: site.github.project_tagline }}</h2>
      <a class="btn" href="https://time.dreamnet.tech/docs/installation">Download for free</a>
      {% if site.github.is_project_page %}
        <a class="btn" href="{{ site.github.repository_url }}">View on GitHub</a>
      {% endif %}
      {% if site.show_downloads %}
        <a class="btn" href="{{ site.github.zip_url }}">Download .zip</a>
        <a class="btn" href="{{ site.github.tar_url }}">Download .tar.gz</a>
      {% endif %}
      
    </header>

    <main class="main-content" id="content" role="main">
      {{ content }}

      <footer class="site-footer">
        {% if site.github.is_project_page %}
          <span class="site-footer-owner"><a href="{{ site.github.repository_url }}">{{ site.github.repository_name }}</a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>.</span>
        {% endif %}
        <span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
      </footer>
    </main>
  </body>
</html>