forked from froge/cyberfrog.me
Initial commit
This commit is contained in:
commit
7e3b4d9cbc
8 changed files with 157 additions and 0 deletions
22
templates/base.html
Normal file
22
templates/base.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href=/main.css>
|
||||
<title>🐸 CyberFrog</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1 class="title">Cyberfrog blog</h1>
|
||||
<main id="main-content">
|
||||
<h2 class="title">
|
||||
This is my blog made with Zola!
|
||||
</h2>
|
||||
<h3>It's currently running on Vultr for free with 500MB of RAM and OpenBSD :)</h3>
|
||||
<div class="blog-posts">
|
||||
{% block content %} {% endblock %}
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
</html>
|
11
templates/index.html
Normal file
11
templates/index.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<ul>
|
||||
<!-- If you are using pagination, section.pages will be empty.
|
||||
You need to use the paginator object -->
|
||||
{% for page in section.pages %}
|
||||
<li><a href="{{ page.permalink | safe }}">{{ page.title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock content %}
|
20
templates/page.html
Normal file
20
templates/page.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" href=/main.css>
|
||||
<title>🐸 CyberFrog</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1 class="title">Cyberfrog blog</h1>
|
||||
<main id="main-content">
|
||||
<h2 id="blog-title">{{ page.title }}</h2>
|
||||
<h4 class="blog-post-date">Published: {{ page.date }} || Last updated: {{ page.updated }}</h4>
|
||||
<div class="blog-posts">
|
||||
{% block content %} {% endblock %}
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue