aboutsummaryrefslogtreecommitdiffhomepage
path: root/overlays/hyde/templates
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-01-04 19:53:13 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-01-04 19:53:13 +0100
commit12f52e2a1926a6365f310663236596bfb0e1fe4d (patch)
treee912cfc41cf5b526be37dbd57b5216fae79cfd30 /overlays/hyde/templates
parent271298a9763515e1735abc5a68eff102c3d676c4 (diff)
downloadblog-12f52e2a1926a6365f310663236596bfb0e1fe4d.tar.gz
blog-12f52e2a1926a6365f310663236596bfb0e1fe4d.zip
remove themes
Diffstat (limited to 'overlays/hyde/templates')
-rw-r--r--overlays/hyde/templates/index.html104
-rw-r--r--overlays/hyde/templates/tags/list.html14
-rw-r--r--overlays/hyde/templates/tags/single.html16
3 files changed, 0 insertions, 134 deletions
diff --git a/overlays/hyde/templates/index.html b/overlays/hyde/templates/index.html
deleted file mode 100644
index c1cd4e8..0000000
--- a/overlays/hyde/templates/index.html
+++ /dev/null
@@ -1,104 +0,0 @@
-<!-- Override derived from hyde theme: https://github.com/getzola/hyde.git -->
-
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta http-equiv="content-type" content="text/html; charset=utf-8">
-
- <!-- Enable responsiveness on mobile devices-->
- <!-- viewport-fit=cover is to support iPhone X rounded corners and notch in landscape-->
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, viewport-fit=cover">
-
- <title>{% block title %}{{ config.title }}{% endblock title %}</title>
-
- <!-- CSS -->
- <link rel="stylesheet" href="{{ get_url(path="print.css", trailing_slash=false) }}" media="print">
- <link rel="stylesheet" href="{{ get_url(path="poole.css", trailing_slash=false) }}">
- <link rel="stylesheet" href="{{ get_url(path="hyde.css", trailing_slash=false) }}">
- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
-
- {% if config.generate_feed %}
- <link rel="alternate" type={% if config.feed_filename == "atom.xml" %}"application/atom+xml"{% else %}"application/rss+xml"{% endif %} title="RSS" href="{{ get_url(path=config.feed_filename) | safe }}">
- {% endif %}
-
- {% block extra_head %}
- {% endblock extra_head %}
- </head>
-
- <body class="{{ config.extra.hyde_theme }} {% if config.extra.hyde_reverse %}layout-reverse{% endif %}">
- {% block sidebar %}
- <div class="sidebar">
- <div class="container {% if config.extra.hyde_sticky %}sidebar-sticky{% endif %}">
- <div class="sidebar-about">
- {% block sidebar_about %}
- <a href="{{ config.base_url }}"><h1>{{ config.title }}</h1></a>
- {% if config.description %}
- <p class="lead">{{config.description}}</p>
- {% endif %}
- {% endblock sidebar_about %}
- </div>
-
- <ul class="sidebar-nav">
- {% block sidebar_nav %}
- {% for link in config.extra.hyde_links %}
- <!-- johannst START | add replace $BASE_URL -->
- {% set link_url = link.url | replace(from="$BASE_URL", to=config.base_url) %}
- <li class="sidebar-nav-item"><a href="{{link_url}}">{{link.name}}</a></li>
- <!-- johannst END -->
- {% endfor %}
- {% endblock sidebar_nav %}
- </ul>
-
- <!-- johannst START -->
- <div class="search-container">
- <input id="search" type="search" placeholder="🔎 Search">
- </div>
- <!-- johannst END -->
- </div>
- </div>
- {% endblock sidebar %}
-
- <!-- johannst: START | add id -->
- <div class="content container" id="pages">
- <!-- johannst: END -->
- {% block content %}
- <div class="posts">
- <!-- johannst: START | remove `reverse` -->
- {% for page in section.pages %}
- <!-- johannst: END -->
- <div class="post">
- <h1 class="post-title">
- <a href="{{ page.permalink }}">
- {{ page.title }}
- </a>
- </h1>
-
- <span class="post-date">{{ page.date | date(format="%Y-%m-%d") }}</span>
-
- <!-- johannst: START | attach `tags` to each post listing -->
- {% if page.taxonomies.tags %}
- {% for tag in page.taxonomies.tags %}
- <a href="{{ get_url(path="/tags/") }}/{{ tag }}">#{{ tag }}</a>
- {% endfor %}
- {% endif %}
- <!-- johannst: END -->
-
- </div>
- {% endfor %}
- </div>
- {% endblock content %}
- </div>
-
- <!-- johannst START -->
- <div class="content container" id="search-results">
- <div id="search-results-items"></div>
- </div>
-
- <script type="text/javascript" src="{{ get_url(path="elasticlunr.min.js") }}"></script>
- <script type="text/javascript" src="{{ get_url(path="search_index.en.js") }}"></script>
- <script type="text/javascript" src="{{ get_url(path="search.js") }}"></script>
- <!-- johannst END -->
- </body>
-
-</html>
diff --git a/overlays/hyde/templates/tags/list.html b/overlays/hyde/templates/tags/list.html
deleted file mode 100644
index 9fdee7e..0000000
--- a/overlays/hyde/templates/tags/list.html
+++ /dev/null
@@ -1,14 +0,0 @@
-{% extends "index.html" %}
-
-{% block title %}Tags{% endblock title%}
-
-{% block content %}
-<h1>Tags</h1>
-<ul>
- {% for term in terms %}
- <li>
- <a href="{{ term.permalink }}">#{{ term.name }}</a>
- </li>
- {% endfor %}
-</ul>
-{% endblock content %}
diff --git a/overlays/hyde/templates/tags/single.html b/overlays/hyde/templates/tags/single.html
deleted file mode 100644
index 4062e4a..0000000
--- a/overlays/hyde/templates/tags/single.html
+++ /dev/null
@@ -1,16 +0,0 @@
-{% extends "index.html" %}
-
-{% block title %}#{{ term.name }}{% endblock title%}
-
-{% block content %}
-<h1>Tag: #{{ term.name }}</h1>
-
-<ul>
- {% for page in term.pages %}
- <li>
- <a href="{{ page.permalink }}">{{ page.title }}</a>
- </li>
- {% endfor %}
-</ul>
-
-{% endblock content %}