fix 404
This commit is contained in:
		
							parent
							
								
									9f4d78baa2
								
							
						
					
					
						commit
						84c80eceaa
					
				
					 71 changed files with 90 additions and 2884 deletions
				
			
		| 
						 | 
				
			
			@ -1,14 +1,46 @@
 | 
			
		|||
<div class="row">
 | 
			
		||||
  <div class="col-12 center">
 | 
			
		||||
    <h1>Ooops! 404!</h1>
 | 
			
		||||
  </div>
 | 
			
		||||
</div>
 | 
			
		||||
<div class="row">
 | 
			
		||||
  <div class="col-2"></div>
 | 
			
		||||
  <div class="col-8 center">
 | 
			
		||||
    <div id="indextext" >
 | 
			
		||||
     <p>Something is definetly went wrong, as you tried to reach page that doesn't exist here. Try to start from the <a href="{{ config.base_url }}">beginning</a></p>
 | 
			
		||||
{% set cdn_version = now() | date(format="%d%m%Y%H%M%S") %}
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
<head
 | 
			
		||||
  data-base-url="{{config.base_url | safe }}"
 | 
			
		||||
  data-build-search-index="{{config.build_search_index | safe}}">>
 | 
			
		||||
  <meta charset="utf-8">
 | 
			
		||||
  <title>404 - Page Not Found</title>
 | 
			
		||||
  <meta name="description" content="Page not found on this website.">
 | 
			
		||||
  <meta name="author" content="{{config.extra.author}}">
 | 
			
		||||
  <link type="text/css" rel="stylesheet" href="{{config.base_url | safe }}css/grid.css">
 | 
			
		||||
  <link type="text/css" rel="stylesheet" href="{{config.base_url | safe }}css/style.css">
 | 
			
		||||
  <link rel="icon" type="image/png" href="{{config.base_url | safe }}images/favicon.webp">
 | 
			
		||||
   {% if config.extra.stats and config.mode != 'serve' %}
 | 
			
		||||
  <script async src="{{config.extra.stats.script_src}}" data-website-id="{{config.extra.stats.site_id}}" nonce="{{config.extra.nonce}}"></script>
 | 
			
		||||
  {% endif %}
 | 
			
		||||
  <script src = "{{config.base_url | safe }}js/codecopy.js?v={{ cdn_version }}" nonce="{{config.extra.nonce}}"></script>
 | 
			
		||||
  <script src="{{config.base_url | safe }}js/mermaid.min.js?v={{ cdn_version }}" nonce="{{config.extra.nonce}}"></script>
 | 
			
		||||
  {%- if config.build_search_index -%}
 | 
			
		||||
  <script src="{{config.base_url | safe }}elasticlunr.min.js?v={{ cdn_version }}" nonce="{{config.extra.nonce}}"></script>
 | 
			
		||||
  <script src="{{config.base_url | safe }}js/search.js?v={{ cdn_version }}" nonce="{{config.extra.nonce}}"></script>
 | 
			
		||||
  {%- endif -%}
 | 
			
		||||
  <link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96" />
 | 
			
		||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
 | 
			
		||||
<link rel="shortcut icon" href="/favicon.ico" />
 | 
			
		||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
 | 
			
		||||
<meta name="apple-mobile-web-app-title" content="aron.petau.net" />
 | 
			
		||||
<link rel="manifest" href="/site.webmanifest" />
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
  <main>
 | 
			
		||||
    <div class="container" id="main-container">
 | 
			
		||||
      <div class="row">
 | 
			
		||||
        <div class="col-12 center">
 | 
			
		||||
          <h1>404 - Page Not Found</h1>
 | 
			
		||||
          <h2>Sorry, the page you are looking for does not exist.</h2>
 | 
			
		||||
          <h2>Try starting from the <a href="{{ config.base_url }}">homepage</a>.</>
 | 
			
		||||
        </div>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
  </div>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
  </main>
 | 
			
		||||
  {% include 'footer.html' %}
 | 
			
		||||
<script src = "{{config.base_url | safe }}js/colortheme.js?v={{ cdn_version }}" nonce="{{config.extra.nonce}}"></script>
 | 
			
		||||
<script src = "{{config.base_url | safe }}js/init.js?v={{ cdn_version }}" nonce="{{config.extra.nonce}}"></script>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,21 +3,7 @@
 | 
			
		|||
<html lang="en">
 | 
			
		||||
<head
 | 
			
		||||
  data-base-url="{{config.base_url | safe }}"
 | 
			
		||||
  data-giscus-repo="{{config.extra.giscus.data_repo | safe}}"
 | 
			
		||||
  data-giscus-repo-id="{{config.extra.giscus.data_repo_id | safe}}"
 | 
			
		||||
  data-giscus-category="{{config.extra.giscus.data_category | safe}}"
 | 
			
		||||
  data-giscus-category-id="{{config.extra.giscus.data_category_id | safe}}"
 | 
			
		||||
  data-giscus-mapping="{{config.extra.giscus.data_mapping | safe}}"
 | 
			
		||||
  data-giscus-strict="{{config.extra.giscus.data_strict | safe}}"
 | 
			
		||||
  data-giscus-reactions-enabled="{{config.extra.giscus.data_reactions_enabled | safe}}"
 | 
			
		||||
  data-giscus-emit-metadata="{{config.extra.giscus.data_emit_metadata | safe}}"
 | 
			
		||||
  data-giscus-input-position="{{config.extra.giscus.data_input_position | safe}}"
 | 
			
		||||
  data-giscus-lang="{{config.extra.giscus.data_lang | safe}}"
 | 
			
		||||
  data-giscus-crossorigin="{{config.extra.giscus.crossorigin | safe}}"
 | 
			
		||||
  data-giscus-nonce="{{config.extra.nonce | safe}}"
 | 
			
		||||
  data-giscus-src="{{config.extra.giscus.src | safe}}"
 | 
			
		||||
  data-build-search-index="{{config.build_search_index | safe}}"
 | 
			
		||||
  data-comments-enabled="{%- if page.extra.show_comments -%}true{%- else -%}false{%- endif -%}">
 | 
			
		||||
  data-build-search-index="{{config.build_search_index | safe}}">
 | 
			
		||||
  <meta charset="utf-8">
 | 
			
		||||
  <title>
 | 
			
		||||
    {%- if page.title -%} {{ page.title }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,7 +0,0 @@
 | 
			
		|||
{% if page.extra.show_comments %}
 | 
			
		||||
  <div class="row">
 | 
			
		||||
    <div class="col-2"></div>
 | 
			
		||||
    <div class="col-8" id="giscusWidget">
 | 
			
		||||
    </div>
 | 
			
		||||
  </div>
 | 
			
		||||
  {% endif %}
 | 
			
		||||
| 
						 | 
				
			
			@ -4,6 +4,11 @@
 | 
			
		|||
    <div class="row">
 | 
			
		||||
      <div class="col-2"></div>
 | 
			
		||||
      <div class="col-8" id="top">
 | 
			
		||||
        {% if page.is_404 %}
 | 
			
		||||
        <!-- Optionally add a special header for 404, or remove menu/search -->
 | 
			
		||||
        <h1>Page not found</h1>
 | 
			
		||||
        {% else %}
 | 
			
		||||
        <!-- Regular header content -->
 | 
			
		||||
        <div id="menu">
 | 
			
		||||
          <ul>
 | 
			
		||||
          {% for menuitem in config.extra.top_menu %}
 | 
			
		||||
| 
						 | 
				
			
			@ -12,17 +17,19 @@
 | 
			
		|||
          </ul>
 | 
			
		||||
        </div>
 | 
			
		||||
        {%- if config.build_search_index -%}
 | 
			
		||||
        <div id="searchBox">  
 | 
			
		||||
        <div id="searchBox">
 | 
			
		||||
          <span class="icon icon-search head"></span>
 | 
			
		||||
          <input id="searchInput" name="search">
 | 
			
		||||
        </div>
 | 
			
		||||
        {%- endif -%}
 | 
			
		||||
        <span id="cIcon" class="icon head"></span>
 | 
			
		||||
        {% endif %}
 | 
			
		||||
      </div>
 | 
			
		||||
      <div class="col-2"></div>
 | 
			
		||||
    </div>
 | 
			
		||||
  </div>
 | 
			
		||||
</header>
 | 
			
		||||
 | 
			
		||||
{%- if config.build_search_index -%}
 | 
			
		||||
    <div class="row">
 | 
			
		||||
      <div class="col-12">
 | 
			
		||||
| 
						 | 
				
			
			@ -32,5 +39,5 @@
 | 
			
		|||
          </div>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
  {%- endif -%}
 | 
			
		||||
{% endblock header %}
 | 
			
		||||
{%- endif -%}
 | 
			
		||||
{% endblock header %}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -47,7 +47,7 @@
 | 
			
		|||
      </li>
 | 
			
		||||
    {% endfor %}
 | 
			
		||||
    </ul>
 | 
			
		||||
    </details>    
 | 
			
		||||
    </details>
 | 
			
		||||
          {% endif %}
 | 
			
		||||
          {%- if page.content -%}
 | 
			
		||||
          {{ page.content | safe }}
 | 
			
		||||
| 
						 | 
				
			
			@ -68,5 +68,4 @@
 | 
			
		|||
  </div>
 | 
			
		||||
  </div>
 | 
			
		||||
  {% include "shares.html" %}
 | 
			
		||||
  {% include "comments.html" %}
 | 
			
		||||
{% endblock %}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue