Fix 404 page

This commit is contained in:
Ratan Kulshreshtha 2021-06-09 02:16:43 +05:30
parent c7ee5e0a7e
commit 44c25559a0
2 changed files with 17 additions and 39 deletions

View File

@ -1,40 +1,28 @@
{% extends 'base.html' %}
{% block header %}
<header class='hero'>
<div class='hero-body pb-0'>
<div class='container'>
<div class="content">
<h1 class='title has-text-centered'>HTTP 404</h1>
<p class='subtitle has-text-centered'>
It seems you are looking for something that I don't have.
</p>
{% if config.extra.author.avatar %}
<figure class="image is-flex is-justify-content-center is-align-items-center">
<img class="is-rounded" src='{{ config.extra.author.avatar }}' style="max-width: 192px" />
</figure>
{% endif %}
<div class="has-text-centered">
{{ macros:: social_links( social_config=config.extra.social) }}
</div>
</div>
</div>
</div>
</header>
{% endblock %}
{% block content %}
<section class='section'>
<div class='container'>
<div class="content has-text-centered">
<a href='{{ config.base_url }}'>
<span class="icon-text">
<section class="section">
<div class="container">
<div class="has-text-centered">
<h1 class="title is-2">HTTP 404</h1>
<p class="subtitle is-4">
It seems you are looking for something that I don't have.
</p>
{% if config.extra.author.avatar %}
<figure class="image is-flex is-justify-content-center is-align-items-center">
<img class="is-rounded" src="{{ config.extra.author.avatar }}" style="max-width: 192px" />
</figure>
{% endif %}
{{ macros:: social_links( social_config=config.extra.social) }}
<p class="my-6">
<a href='{{ config.base_url }}'>
<span class="icon">
<i class="fas fa-home"></i>
</span>
<span>Home</span>
</span>
</a>
</a>
</p>
</div>
</div>
</section>

View File

@ -31,9 +31,6 @@
<link href="https://cdn.jsdelivr.net/npm/bulma@0.9.2/css/bulma.min.css" rel="stylesheet" />
<link href="{{ get_url(path='deep-thought.css') }}" rel="stylesheet" />
{% block custom_css %}
{% endblock %}
<title>
{% block title %}
{{ config.title }}
@ -71,7 +68,6 @@
</head>
<body class="has-background-white">
{% block navbar %}
<nav aria-label="section navigation" class="navbar is-light" role="navigation">
<div class="container">
<div class="navbar-brand">
@ -107,10 +103,6 @@
</div>
</div>
</nav>
{% endblock %}
{% block header %}
{% endblock %}
{% block content %}
{% endblock %}
@ -173,7 +165,6 @@
{% block comment %}
{% endblock %}
{% block footbar %}
<footer class="footer py-4">
<div class="content has-text-centered">
<p>
@ -203,7 +194,6 @@
</p>
</div>
</footer>
{% endblock %}
<script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/galleria/1.6.1/galleria.min.js"></script>