starting on the comic porting

This commit is contained in:
etherware-novice 2024-07-25 11:48:02 -05:00
parent 3abe3a6a4f
commit 9fe112d2cf
No known key found for this signature in database
GPG Key ID: 5DB73B4D57B9D701
6 changed files with 33 additions and 4 deletions

6
_comic/2023-09-19.md Normal file
View File

@ -0,0 +1,6 @@
---
image: comic/site_comic_1.png
title: sappy sleep
---
bluby says hi :D

12
_comic/index.html Normal file
View File

@ -0,0 +1,12 @@
---
name: comic index
layuot: default
---
<ul>
{% for post in site.comic %}
{% if post.url == page.url %}
{% continue %}
{% endif %}
<a href="{{ post.url }}">{{ post.title | downcase }}</a><br>
{% endfor %}
</ul>

View File

@ -1,6 +1,7 @@
collections:
pages:
comic:
output: true
layout: "comic"
defaults:
- scope:
@ -8,3 +9,8 @@ defaults:
values:
layout: "default"
neko: "true"
- scope:
path: ""
type: "comic"
values:
layout: "comic"

8
_layouts/comic.html Normal file
View File

@ -0,0 +1,8 @@
---
layout: default
---
<h1>{{ page.name | date: "%b %d" }}</h1>
<h3>{{ page.title }}</h3>
<img src="/assets/images/{{ page.image }}">
{{content}}

View File

@ -1,3 +0,0 @@
---
---
test

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB