Update page templating to centralize header and metatada, add 404 page
This commit is contained in:
parent
16941f6074
commit
c0d63ab5f3
4 changed files with 40 additions and 47 deletions
|
@ -1,32 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href=/main.css>
|
||||
<title>🐸 CyberFrog</title>
|
||||
</head>
|
||||
{% extends "base.html" %}
|
||||
|
||||
<body>
|
||||
<div id="site-content">
|
||||
<!-- Credits to http://patorjk.com/software/taag/ for the header, made using "ANSI Regular" font -->
|
||||
<div id="ascii-header"><a href="/"><pre>
|
||||
██████ ██ ██ ██████ ███████ ██████ ███████ ██████ ██████ ██████ ███ ███ ███████
|
||||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ████ ██
|
||||
██ ████ ██████ █████ ██████ █████ ██████ ██ ██ ██ ███ ██ ████ ██ █████
|
||||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||
██████ ██ ██████ ███████ ██ ██ ██ ██ ██ ██████ ██████ ██ ██ ██ ███████
|
||||
</pre></a></div>
|
||||
<div class="dotted-border"></div>
|
||||
<main id="main-content">
|
||||
<div id="welcome-message">
|
||||
<h2 id="blog-page-title">{{ page.title }}</h2>
|
||||
<h6 class="blog-post-date">// Published: {{ page.date }} // Modified: {{ page.updated }} //</h6>
|
||||
</div>
|
||||
{% block content %}
|
||||
<main id="main-content">
|
||||
<div id="welcome-message">
|
||||
<h2 id="blog-page-title">{{ page.title }}</h2>
|
||||
<h6 class="blog-post-date">// Published: {{ page.date }} // Modified: {{ page.updated }} //</h6>
|
||||
</div>
|
||||
<div class="dotted-border"></div>
|
||||
<div id="blog-post-content">
|
||||
{{ page.content | safe }}
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</main>
|
||||
{% endblock content %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue