From 403bcd7509498638b6e34d38eb29e1c3620917c9 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sun, 6 Jun 2021 12:56:44 -0600 Subject: finish base art page and upload first post --- art/plt/art_entry.html | 5 +++++ art/plt/art_nav.html | 28 ++++++++++++++++++++++++++++ art/plt/base.html | 9 ++------- art/plt/index.html | 6 +++--- art/plt/page.html | 16 ++++++++++------ art/plt/page_list.html | 29 ++++++++++++++++++----------- art/plt/rss.xml | 6 +++--- art/plt/tag.html | 10 +++++----- art/plt/tag_list.html | 2 +- 9 files changed, 75 insertions(+), 36 deletions(-) create mode 100644 art/plt/art_entry.html create mode 100644 art/plt/art_nav.html (limited to 'art/plt') diff --git a/art/plt/art_entry.html b/art/plt/art_entry.html new file mode 100644 index 0000000..1790025 --- /dev/null +++ b/art/plt/art_entry.html @@ -0,0 +1,5 @@ +{%macro print(page, class='')%} + + {{page.title}} + +{%endmacro%} diff --git a/art/plt/art_nav.html b/art/plt/art_nav.html new file mode 100644 index 0000000..0b69fb2 --- /dev/null +++ b/art/plt/art_nav.html @@ -0,0 +1,28 @@ +{%macro print(page, config)%} +
+ {%if page.next is not none%} + + + + Next + + + {%endif%} + + + + + Index + + + + {%if page.previous is not none%} + + + + Previous + + + {%endif%} +
+{%endmacro%} diff --git a/art/plt/base.html b/art/plt/base.html index 5fe0244..411b410 100644 --- a/art/plt/base.html +++ b/art/plt/base.html @@ -15,14 +15,9 @@ - - - - - {%block head_og%}{%endblock head_og%} @@ -65,7 +60,7 @@ -
+
{%block content%}{%endblock content%}
@@ -82,7 +77,7 @@ - RSS + RSS
diff --git a/art/plt/index.html b/art/plt/index.html index 5b1c9e1..a283ffc 100644 --- a/art/plt/index.html +++ b/art/plt/index.html @@ -1,13 +1,13 @@ {%extends "base.html"%} {%block html_lang%}en{%endblock html_lang%} {%block head_title%}Index{%endblock head_title%} -{%block head_description%}My personal blog where I post about my thoughts, some how-to's, or general ranting.{%endblock head_description%} +{%block head_description%}My personal space where I post all my drawings, sketches and more art related stuff.{%endblock head_description%} {%block head_og%} - + {%endblock head_og%} @@ -15,7 +15,7 @@

Index -- {{config.title}}

- Welcome to my blog where I'll post whatever I please, ranging from rants to how-to's. Además, este pex va a estar en español e inglés porque quiero (no una mezcla en cada entrada, pero sí entradas completas en diferentes lenguajes). + Here is where I will post all of my drawings, sketches and more art related stuff. Right now this is managed similar to the blog, but more "gallery" oriented. The structure is kind of a 3-level zoom, where you see all the images in this index (or on a tag index), then you see the whole image in its separate link with additional information and then you can see the raw image itself.

diff --git a/art/plt/page.html b/art/plt/page.html index dbb2734..55a0c90 100644 --- a/art/plt/page.html +++ b/art/plt/page.html @@ -14,15 +14,19 @@ {%block content%}

{{page.title}}

+ + {{page.summary}} + + {{page.content}} + {%import "art_nav.html" as art_nav%} + {{art_nav.print(page, config)}} +
- {%endmacro%} diff --git a/art/plt/rss.xml b/art/plt/rss.xml index 5ce541d..c119daf 100644 --- a/art/plt/rss.xml +++ b/art/plt/rss.xml @@ -7,9 +7,9 @@ {{config.title}} {{config.url}} - A personal weblog ranging from rants to how to's and other thoughts. + A personal collection of drawings, sketches and more art related stuff. en-us - Blog + Art Copyright 2021 David Luévano Alvarado david@luevano.xyz (David Luévano Alvarado) david@luevano.xyz (David Luévano Alvarado) @@ -19,7 +19,7 @@ https://validator.w3.org/feed/docs/rss2.html 30 - {{config.static_url}}/images/blog.png + {{config.static_url}}/images/a/default.png {{config.title}} {{config.url}} diff --git a/art/plt/tag.html b/art/plt/tag.html index d379590..f3d5999 100644 --- a/art/plt/tag.html +++ b/art/plt/tag.html @@ -1,18 +1,18 @@ {%extends "base.html"%} {%block html_lang%}en{%endblock html_lang%} -{%block head_title%}Posts filtered by {{tag[0]}}{%endblock head_title%} -{%block head_description%}Posts filtered by {{tag[0]}}{%endblock head_description%} +{%block head_title%}Art filtered by {{tag[0]}}{%endblock head_title%} +{%block head_description%}Art filtered by {{tag[0]}}{%endblock head_description%} {%block head_og%} - + - + {%endblock head_og%} {%block content%} -

Posts filtered by {{tag[0]}}

+

Art filtered by {{tag[0]}}

{%import "page_list.html" as page_list%} {{page_list.print(tag_pages)}} diff --git a/art/plt/tag_list.html b/art/plt/tag_list.html index 2dfb70c..b1d6f72 100644 --- a/art/plt/tag_list.html +++ b/art/plt/tag_list.html @@ -1,5 +1,5 @@ {%macro print(tags)%} -