_layouts/default.html in jekyll-theme-satellite-1.0.0 vs _layouts/default.html in jekyll-theme-satellite-1.1.0
- old
+ new
@@ -1,113 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- {% seo %}
- <link rel="shortcut icon" type="image/png" href="{{ '/assets/img/favicon.webp' }}">
- <link rel="preload" href="{{ '/assets/img/favicon.webp' }}" as="image">
- {% if site.goatcounter_code %}
- <script data-goatcounter="https://{{ site.goatcounter_code }}.goatcounter.com/count"
- async src="//gc.zgo.at/count.js"></script>
- {% endif %}
-
- <title>
- {% if page.title %}{{ page.title }}
- {% else %}{{ site.title }}
- {% endif %}
- </title>
-
- <meta
- name="description"
- content="{% if page.description %}{{ page.description | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
-
- <link rel="stylesheet" href="{{ '/assets/css/style.css' }}">
- {% if page.thumbnail %}
- <style>
- .thumbnail {
- background-image: url("{{ page.thumbnail }}");
- }
- </style>
- {% else %}
- <style>
- .thumbnail {
- aspect-ratio: auto !important;
- }
- .transbox {
- transform: none;
- position: relative;
- margin: auto;
- left: 0;
- top: 0;
- }
- </style>
- {% endif %}
- <script src="{{ '/assets/js/tocbot.min.js' }}"></script>
- <script src="{{ '/assets/js/sweet-scroll.min.js' }}"></script>
+ {% include head.html %}
+ <link rel="stylesheet" href="{{ '/assets/css/404.css' }}">
</head>
<body>
- <canvas id="stars" width="100%" height="100%"></canvas>
- {%- assign page_tree = page.path | remove_first: "_pages/" | split: "/" -%}
- {%- assign page_level = page_tree.size -%}
- {% if page_tree.last == "index.md" %}
- {%- assign page_type = "category" -%}
- {% else %}
- {%- assign page_type = "post" -%}
- {% endif %}
- {% include sidebar.html %}
- <div id="post">
- <div class="inner-header">
- <span class="dot" style="background-color: #F86158;"></span>
- <span class="dot" style="background-color: #FBBF2D;"></span>
- <span class="dot" style="background-color: #2ACB45;"></span>
- </div>
- <div class="inner-content">
- <div class="category-tree">
- {%- assign page_link = "/" -%}
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"/></svg>
- <p>
- {%- assign search_tree = page.path | remove: "/index.md" | split: "/" -%}
- {%- for sub_tree in search_tree -%}
- {% if forloop.first %}
- <a href="/">Home</a>
- >
- {% elsif forloop.last %}
- {% if page_type == "category" %}
- {{ sub_tree }}
- {% else %}
- {{ page.title }}
- {% endif %}
- {% else %}
- {%- assign page_link = page_link | append: sub_tree | append: "/" -%}
- <a href="{{ page_link }}">{{ sub_tree }}</a>
- >
- {% endif %}
- {%- endfor -%}
- </p>
- </div>
- {% if page_type == "category" %}
- {% include loading.html %}
- {% include pagination.html %}
- {% else %}
- {% include post.html %}
- {% endif %}
- </div>
+ <div class="blank-page">
+ <a href="/" class="go-home">↩️ GO HOME</a>
+ <div class="not-found-msg">
+ <h1 class="sour-face">`Φ ⌒ `Φ ?</h1>
+ <p style="font-size:1.75rem; color:#fa4251;">404: Page not found</p>
+ <p style="font-size:1.25rem;">D-Data breach...?    No such thing allowed!</p>
</div>
- {% include search.html %}
+ </div>
</body>
- <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
- <script src="{{ '/assets/js/highlight.min.js' }}"></script>
- <link id="highlight-default" rel="stylesheet" href="{{ '/assets/css/highlight-default.min.css' }}">
- <link id="highlight-dark" rel="stylesheet" href="{{ '/assets/css/highlight-dark.min.css' }}">
- <script src="{{ '/assets/js/stars.js' }}"></script>
- <script src="{{ '/assets/js/main.js' }}"></script>
- <script async src="https://www.googletagmanager.com/gtag/js?id={{ site.google_analytics }}"></script>
- <script>
- window.dataLayer = window.dataLayer || [];
- function gtag(){ dataLayer.push(arguments); }
-
- gtag('js', new Date());
- gtag('config', '{{ site.google_analytics }}');
- </script>
+ <script src="{{ '/assets/js/404.js' }}"></script>
</html>
\ No newline at end of file