remove blog

This commit is contained in:
zyl 2024-11-13 13:14:51 -08:00
parent ddeb079d52
commit 0233bf0dad
Signed by: zyl
SSH key fingerprint: SHA256:uxxbSXbdroP/OnKBGnEDk5q7EKB2razvstC/KmzdXXs
7 changed files with 0 additions and 89 deletions

View file

@ -7,18 +7,3 @@ cdn_url: "https://i.zyl.gay/webdog/"
code_theme: base16-ocean.dark # options: base16-ocean.dark, base16-eighties.dark, base16-mocha.dark, base16-ocean.light, InspiredGitHub, Solarized (dark), and Solarized (light)
resources:
blog:
source_path: blog
output_path_resources: blog
output_path_lists: blog
resource_template: blog/blog.tera
resource_list_template: blog/list.tera
tag_list_template: basic-link-list.tera
rss:
template: blog/rss.tera
title: webdog blog
description: feed of recent webdog blog posts.
list_title: blog
tag_list_title: blog tags
resource_name_plural: blog posts
resources_per_page: 20

View file

@ -1,11 +1,3 @@
---
extra:
name: resource-list-outside
template: extras/index-injection.tera
resource: blog
count: 3
---
# webdog
welcome to webdog, the static site generator fit for a dog :3

View file

@ -1,10 +0,0 @@
---
title: introducing webdog
timestamp: 2024-11-04T17:29:00.00Z
tags: [webdog, announcement]
desc: a static site builder, for dogs?
cdn_file: 2023/11/pfp.png
header_image_alt: A dead Among Us bean layered on top of transgender, lesbian, and bisexual pride flags.
---
webdog.

View file

@ -14,7 +14,6 @@
</span>
<span class="spacer"></span>
<a href="/docs/">documentation</a> |
<a href="/blog/">blog</a> |
<a href="https://github.com/zyllian/webdog" rel="noopener noreferrer">github</a>
</header>
<div id="content">

View file

@ -1,25 +0,0 @@
{% extends "base.tera" %}
{% block content %}
<div class="blog-post">
<h1 class="title">{{data.title}}</h1>
<span class="timestamp">published {{data.timestamp}}</span>
{% if data.draft %}
<h2>DRAFT</h2>
{% endif %}
<div class="header-image-wrapper">
<p class="short-desc">{{data.desc}}</p>
<img class="header-image" src="{{data.cdn_file}}" alt="{{data.header_image_alt}}"
style="object-fit: cover; object-position: 50% 50%">
</div>
<div class="content">
{{ data.content | safe }}
</div>
<hr />
<h3 class="tags-title">tags</h3>
<div class="post-tags">
{% for tag in data.tags %}
<a class="tag" href="/blog/tag/{{tag}}">{{tag}}</a>{% if not loop.last %},{% endif %}
{% endfor %}
</div>
</div>
{% endblock content %}

View file

@ -1,29 +0,0 @@
{% extends "base.tera" %}
{% block content %}
{% if data.tag %}
<h1>blog posts tagged {{data.tag}}</h1>
<p><a href="/blog/">View all blog posts</a></p>
{% else %}
<h1>blog Posts</h1>
<p><a href="tags">view blog tags</a></p>
{% if data.rss_enabled %}
<p><a href="rss.xml">rss feed</a></p>
{% endif %}
{% endif %}
<h1>Page {{data.page}}/{{data.page_max}}</h1>
{% if data.previous %}
<a href="./{{data.previous}}">previous page</a>
{% endif %}
{% if data.next %}
<a href="./{{data.next}}">next page</a>
{% endif %}
<div class="blog-post-list">
{% for resource in data.resources %}
<div class="post">
<p class="title"><a href="/blog/{{resource.id}}">{{resource.title}}</a></p>
<p class="timestamp">{{resource.timestamp}}</p>
<p class="short-desc">{{resource.desc}}</p>
</div>
{% endfor %}
</div>
{% endblock content %}

View file

@ -1 +0,0 @@
<div>{{ desc | safe }}</div>