weathermen/soundstorm

View on GitHub
docs/_layouts/default.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html>
  <head>
    <link
      rel="preload"
      href="{{ '/css/screen.css' | relative_url }}"
      as="style" />
    <link href='//fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'/>
    <link href='/api/swagger-ui/css/highlight.default.css' media='screen' rel='stylesheet' type='text/css'/>
    <link href='/api/swagger-ui/css/screen.css' media='screen' rel='stylesheet' type='text/css'/>
    <link rel="stylesheet" type="text/css" href="/css/screen.css" />
    <link rel="stylesheet" type="text/css" href="/css/gfm.css" />
    <link rel="stylesheet" type="text/css" href="/css/gh-fork-ribbon.css" />
    <script type="text/javascript" src="/api/swagger-ui/lib/shred.bundle.js" /></script>
    <script src='/api/swagger-ui/lib/jquery-1.8.0.min.js' type='text/javascript'></script>
    <script src='/api/swagger-ui/lib/jquery.slideto.min.js' type='text/javascript'></script>
    <script src='/api/swagger-ui/lib/jquery.wiggle.min.js' type='text/javascript'></script>
    <script src='/api/swagger-ui/lib/jquery.ba-bbq.min.js' type='text/javascript'></script>
    <script src='/api/swagger-ui/lib/handlebars-1.0.0.js' type='text/javascript'></script>
    <script src='/api/swagger-ui/lib/underscore-min.js' type='text/javascript'></script>
    <script src='/api/swagger-ui/lib/backbone-min.js' type='text/javascript'></script>
    <script src='/api/swagger-ui/lib/swagger.js' type='text/javascript'></script>
    <script src='/api/swagger-ui/swagger-ui.js' type='text/javascript'></script>
    <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.11.0/styles/default.min.css">
    <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.11.0/highlight.min.js"></script>
    {% seo %}
  </head>
  <body>
    <header class="header">
      <strong><a href="/">{{ site.title }}</a></strong>
      <a class="github-fork-ribbon"
         href="https://github.com/weathermen/soundstorm"
         data-ribbon="Fork me on GitHub" title="Fork me on GitHub">
        Fork me on GitHub
      </a>
    </header>
    <main class="site">
      <nav class="navigation">
        <ul>
          <li><a href="/getting-started.html">Getting Started</a></li>
          <li><a href="/api">API</a></li>
          <li>
            <a href="/blog">Blog</a>
            <ul>
              {% for post in site.posts %}
                <li>
                  <a href="{{ post.url }}">
                    {{ post.title | truncate: 28 }}
                  </a>
                </li>
              {% endfor %}
            </ul>
          </li>
        </ul>
      </nav>
      <div class="content">
        {{ content }}
      </div>
    </main>
    <script>
      hljs.initHighlightingOnLoad();

      const links = document.querySelectorAll('.navigation a');

      links.forEach(function(link) {
        const href = link.getAttribute("href");

        if (href === window.location.pathname) {
          link.classList.add("active");
        }
      });
    </script>
  </body>
</html>