diff options
| author | Isabella Bastaja <isabella@sorre.xyz> | 2026-02-21 13:39:30 +0100 |
|---|---|---|
| committer | Isabella Bastaja <isabella@sorre.xyz> | 2026-02-21 13:47:00 +0100 |
| commit | ee7b2ba718c47fa7f4ef67af08e5906f3d5333b5 (patch) | |
| tree | 98262ffeed7f1676d9bbea285048a65bc8fbfc49 /templates | |
| parent | 34154a73b321c5a9b8f35fb2d3682b93333242ca (diff) | |
replace zola with soupault
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/base.html | 37 | ||||
| -rw-r--r-- | templates/blog-page.html | 17 | ||||
| -rw-r--r-- | templates/index.html | 40 | ||||
| -rw-r--r-- | templates/main.html | 11 |
4 files changed, 11 insertions, 94 deletions
diff --git a/templates/base.html b/templates/base.html deleted file mode 100644 index cf1edbc..0000000 --- a/templates/base.html +++ /dev/null @@ -1,37 +0,0 @@ -<!DOCTYPE html> -<html lang="en"> - -<head> - <meta charset="UTF-8"> - <meta content="text/html; charset=UTF-8" http-equiv="content-type" /> - <meta content="width=device-width, initial-scale=1" name="viewport" /> - - {% if page.title %} - {% set title = page.title %} - {% elif section.title %} - {% set title = section.title %} - {% elif config.title %} - {% set title = config.title %} - {% endif %} - {% if title %}<title>{{ title }}</title>{% endif %} - - {% if config.generate_feed %} - <link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path="atom.xml", trailing_slash=false)}}"> - {% endif %} - - <link rel="stylesheet" href="{{ get_url(path='site.css', trailing_slash=false) | safe }}" /> - <style> - code { - color: var(--note-bg-light); - padding: .1rem .2rem; - } - </style> -</head> - -<body theme="auto"> - <main style="max-width: 50rem;padding: 2rem 6rem;"> - {% block content %} {% endblock %} - </main> -</body> - -</html> diff --git a/templates/blog-page.html b/templates/blog-page.html deleted file mode 100644 index 2e54a27..0000000 --- a/templates/blog-page.html +++ /dev/null @@ -1,17 +0,0 @@ -{% extends "base.html" %} - -{% block content %} - -<header> - <h1 id="title"> - {{ page.title }} - </h1> - <div> - <p>written: {{ page.date }}</p> - <p>updated: {{ page.updated }}</p> - </div> - <a href="/">home</a> -</header> - -{{ page.content | safe }} -{% endblock content %}
\ No newline at end of file diff --git a/templates/index.html b/templates/index.html deleted file mode 100644 index 11ff2d2..0000000 --- a/templates/index.html +++ /dev/null @@ -1,40 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -<h1 id="page-title"> - {{ section.title }} -</h1> - -<p>{{ section.description }}</p> - -<nav> - <table> - <caption> - Posts - </caption> - <thead> - <tr> - <td>Title</td> - <td>Date</td> - </tr> - </thead> - <tbody> - {% for page in paginator.pages %} - <tr> - <td><a href="{{ page.permalink | safe }}">{{page.title}}</a></td> - <td>{{ page.date }}</td> - </tr> - {% endfor %} - </tbody> - </table> - <nav class="pagination"> - {% if paginator.previous %} - <a class="previous" href="{{ paginator.previous }}">‹ Previous</a> - {% endif %} - {% if paginator.next %} - <a class="next" href="{{ paginator.next }}">Next ›</a> - {% endif %} - </nav> -</nav> - -{% endblock %}
\ No newline at end of file diff --git a/templates/main.html b/templates/main.html new file mode 100644 index 0000000..0300fa6 --- /dev/null +++ b/templates/main.html @@ -0,0 +1,11 @@ +<html> +<head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> +</head> +<body> + <main> + <!-- content will go here --> + </main> +</body> +</html> |
