diff --git a/site/config.yaml b/site/config.yaml index d71e025..fd619d1 100644 --- a/site/config.yaml +++ b/site/config.yaml @@ -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 diff --git a/site/pages/index.md b/site/pages/index.md index e3724e8..78e9937 100644 --- a/site/pages/index.md +++ b/site/pages/index.md @@ -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 diff --git a/site/resources/blog/introducing-webdog.md b/site/resources/blog/introducing-webdog.md deleted file mode 100644 index c457ddd..0000000 --- a/site/resources/blog/introducing-webdog.md +++ /dev/null @@ -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. diff --git a/site/templates/base.tera b/site/templates/base.tera index 993f0b2..40988cd 100644 --- a/site/templates/base.tera +++ b/site/templates/base.tera @@ -14,7 +14,6 @@ documentation | - blog | github
diff --git a/site/templates/blog/blog.tera b/site/templates/blog/blog.tera deleted file mode 100644 index 38e67b5..0000000 --- a/site/templates/blog/blog.tera +++ /dev/null @@ -1,25 +0,0 @@ -{% extends "base.tera" %} -{% block content %} -
-

{{data.title}}

- published {{data.timestamp}} - {% if data.draft %} -

DRAFT

- {% endif %} -
-

{{data.desc}}

- {{data.header_image_alt}} -
-
- {{ data.content | safe }} -
-
-

tags

- -
-{% endblock content %} diff --git a/site/templates/blog/list.tera b/site/templates/blog/list.tera deleted file mode 100644 index a7fabe6..0000000 --- a/site/templates/blog/list.tera +++ /dev/null @@ -1,29 +0,0 @@ -{% extends "base.tera" %} -{% block content %} -{% if data.tag %} -

blog posts tagged {{data.tag}}

-

View all blog posts

-{% else %} -

blog Posts

-

view blog tags

-{% if data.rss_enabled %} -

rss feed

-{% endif %} -{% endif %} -

Page {{data.page}}/{{data.page_max}}

-{% if data.previous %} -previous page -{% endif %} -{% if data.next %} -next page -{% endif %} -
- {% for resource in data.resources %} -
-

{{resource.title}}

-

{{resource.timestamp}}

-

{{resource.desc}}

-
- {% endfor %} -
-{% endblock content %} diff --git a/site/templates/blog/rss.tera b/site/templates/blog/rss.tera deleted file mode 100644 index f82a8fc..0000000 --- a/site/templates/blog/rss.tera +++ /dev/null @@ -1 +0,0 @@ -
{{ desc | safe }}