Sha256: 70e23d4cba2c112970bb34039f610e562a6ccd1ffb010b754050098e3a10ae95

Contents?: true

Size: 643 Bytes

Versions: 1

Compression:

Stored size: 643 Bytes

Contents

<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: "en" }}">

  {%- include head.html -%}

  <body>

    {%- include header.html -%}

    <main class="page-content" aria-label="Content">
      <div class="wrapper">
        {{ content }}
      </div>
    </main>

    {%- include footer.html -%}

  </body>

  <script>
    const imgs = [
      {%- for item in site.data.backgrounds -%}
        '{{ item.name }}',
      {%- endfor -%}
    ];
    const date = new Date();
    const index = date.getDay() % imgs.length;
    document.body.style.backgroundImage = `url('{{ site.baseurl }}${imgs[index]}')`;
  </script>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
minima-rock-0.8.0 _layouts/default.html