Sha256: 7dd1e310004e9e65ef4203ec45dd787e63cc6e49481a1892a225ff8dcfeb0204

Contents?: true

Size: 933 Bytes

Versions: 6

Compression:

Stored size: 933 Bytes

Contents

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

  {% include head-docgen.html %}

  <body>

    <main class="page-content" aria-label="Content">
      <h1>404 Not Found!</h1>
      <p id="404-content">
        The page couldn't be found :(
        </br>
        </br>
        <a href="{{ '/' | relative_url }}">Click here to go back to the homepage</a>
      </p>
      {{ content }}
    </main>

    <!-- <script>
      function sleep(ms) {
        return new Promise(resolve => setTimeout(resolve, ms));
      }

      async function redirect() {
        console.log(window.location.pathname);
        if (window.location.pathname == '/') {
          $('#404-content').text("You're being redirected to the correct homepage of this site...");
          await sleep(1000);
          window.location.replace('{{ '/' | relative_url }}');
        }
      }

      redirect();
    </script> -->
  </body>

</html>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jekyll-theme-docgen-1.2.5 _layouts/404-docgen.html
jekyll-theme-docgen-1.2.4 _layouts/404-docgen.html
jekyll-theme-docgen-1.2.3 _layouts/404-docgen.html
jekyll-theme-docgen-1.2.2 _layouts/404-docgen.html
jekyll-theme-docgen-1.2.1 _layouts/404-docgen.html
jekyll-theme-docgen-1.2.0 _layouts/404-docgen.html