summaryrefslogtreecommitdiff
path: root/static/src/_includes
diff options
context:
space:
mode:
Diffstat (limited to 'static/src/_includes')
-rw-r--r--static/src/_includes/footer.html7
-rw-r--r--static/src/_includes/head.html12
-rw-r--r--static/src/_includes/header.html29
-rw-r--r--static/src/_includes/image.html43
4 files changed, 0 insertions, 91 deletions
diff --git a/static/src/_includes/footer.html b/static/src/_includes/footer.html
deleted file mode 100644
index f66a879..0000000
--- a/static/src/_includes/footer.html
+++ /dev/null
@@ -1,7 +0,0 @@
-<footer>
- <p class="license light">
- Unless otherwised specified, all works are licensed under the
- <a href="{{ '/assets/wtfpl.txt' | relative_url}}">WTFPL</a>.
- </p>
-</footer>
-
diff --git a/static/src/_includes/head.html b/static/src/_includes/head.html
deleted file mode 100644
index 7ce8287..0000000
--- a/static/src/_includes/head.html
+++ /dev/null
@@ -1,12 +0,0 @@
-<head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- {%- seo -%}
- <link rel="stylesheet" href="{{ "/assets/normalize.css" | relative_url }}">
- <link rel="stylesheet" href="{{ "/assets/skeleton.css" | relative_url }}">
- <link rel="stylesheet" href="{{ "/assets/friendly.css" | relative_url }}">
- <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}">
- <link rel="stylesheet" href="{{ "/assets/fontawesome/css/all.css" | relative_url }}">
- {%- feed_meta -%}
-</head>
diff --git a/static/src/_includes/header.html b/static/src/_includes/header.html
deleted file mode 100644
index e63b0f5..0000000
--- a/static/src/_includes/header.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<header id="title-header" role="banner">
- <div class="row">
- <div class="seven columns" style="margin-bottom: 3rem;">
- <h1 class="title">
- <a href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
- </h1>
- <div class="light social">
- <span>By {{ site.author | escape }}</span>
- <span>
- Even more @
- <a href="{{ site.hub_url }}" target="_blank">{{ site.hub_url }}</a>
- </span>
- </div>
- </div>
- {%- if!page.nofollow != true %}
- <div class="five columns light">
- <span style="display:block; margin-bottom:0.5rem;">Get notified when new posts are published!</span>
- <a href="{{ "/follow.html" | relative_url }}"><button class="button-primary">
- <i class="far fa-envelope"></i>
- Follow
- </button></a>
- <a href="{{ "/feed.xml" | relative_url }}"><button class="button">
- <i class="fas fa-rss"></i>
- RSS
- </button></a>
- </div>
- {% endif -%}
- </div>
-</header>
diff --git a/static/src/_includes/image.html b/static/src/_includes/image.html
deleted file mode 100644
index 8875050..0000000
--- a/static/src/_includes/image.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<div style="
- box-sizing: border-box;
- text-align: center;
- padding-left: 2em;
- padding-right: 2em;
- margin-bottom: 1em;
- {%- if include.float %}
- float: {{ include.float }};
- {% endif -%}
- {%- if include.float or include.inline %}
- max-width: 49%;
- {% endif -%}
- {%- if include.inline %}
- display: inline-block;
- {% endif -%}
- ">
- <a href="/img/{{ include.dir }}/{{ include.file }}" target="_blank">
- <picture>
- {%- if include.width %}
- {%- for targetWidth in site.img_widths reversed -%}
- {% if include.width <= targetWidth %}{% continue %}{% endif %}
- {%- if targetWidth > 1000 %}
- <source media="(min-width: 1000px) and (min-resolution: {{ targetWidth | divided_by: 1000.0 }}dppx)"
- {%- elsif targetWidth > 500 %}
- <source media="(min-width: 500px), (min-resolution: 1.1dppx)"
- {%- else %}
- <source
- {% endif %}
- srcset="/img/{{ include.dir }}/{{ targetWidth }}px/{{ include.file }}"
- >
- {%- endfor %}
- {%- endif %}
- <img style="max-height: 60vh;"
- {% if include.width < 1000 %}
- src="/img/{{ include.dir }}/{{ include.file }}"
- {% else %}
- src="/img/{{ include.dir }}/1000px/{{ include.file }}"
- {% endif %}
- alt="{{ include.descr }}" />
- </picture>
- </a>
- {%- if include.descr %}<br/><em>{{ include.descr }}</em>{%- endif %}
-</div>