From 7e49db5ddefe8c515b5f3931a5c701efaac33d91 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Fri, 16 Dec 2022 17:45:03 -0600 Subject: change structure for new pyssg version --- art/plt/art_entry.html | 5 --- art/plt/art_nav.html | 28 --------------- art/plt/base.html | 95 -------------------------------------------------- art/plt/index.html | 31 ---------------- art/plt/page.html | 33 ------------------ art/plt/page_list.html | 22 ------------ art/plt/rss.xml | 40 --------------------- art/plt/sitemap.xml | 22 ------------ art/plt/tag.html | 20 ----------- art/plt/tag_list.html | 9 ----- 10 files changed, 305 deletions(-) delete mode 100644 art/plt/art_entry.html delete mode 100644 art/plt/art_nav.html delete mode 100644 art/plt/base.html delete mode 100644 art/plt/index.html delete mode 100644 art/plt/page.html delete mode 100644 art/plt/page_list.html delete mode 100644 art/plt/rss.xml delete mode 100644 art/plt/sitemap.xml delete mode 100644 art/plt/tag.html delete mode 100644 art/plt/tag_list.html (limited to 'art/plt') diff --git a/art/plt/art_entry.html b/art/plt/art_entry.html deleted file mode 100644 index 1790025..0000000 --- a/art/plt/art_entry.html +++ /dev/null @@ -1,5 +0,0 @@ -{%macro print(page, class='')%} - - {{page.title}} - -{%endmacro%} diff --git a/art/plt/art_nav.html b/art/plt/art_nav.html deleted file mode 100644 index 327242a..0000000 --- a/art/plt/art_nav.html +++ /dev/null @@ -1,28 +0,0 @@ -{%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 deleted file mode 100644 index fe838e1..0000000 --- a/art/plt/base.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - - - {%block head_title%}{%endblock head_title%} -- {{config.get("info", "title")}} - - - - - - - - - - - - - - - {%block head_og%}{%endblock head_og%} - - - -
- - - -
- -
- {%block content%}{%endblock content%} -
- - - - diff --git a/art/plt/index.html b/art/plt/index.html deleted file mode 100644 index 03bfbc3..0000000 --- a/art/plt/index.html +++ /dev/null @@ -1,31 +0,0 @@ -{%extends "base.html"%} -{%block html_lang%}en{%endblock html_lang%} -{%block head_title%}Index{%endblock head_title%} -{%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%} -{%block content%} -

Index -- {{config.get("info", "title")}}

- -

- 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. -

- -

- Get the RSS feed: {{config.get("url", "main")}}/rss.xml -

- - {%import "tag_list.html" as tag_list%} - {{tag_list.print(all_tags)}} - - {%import "page_list.html" as page_list%} - {{page_list.print(all_pages)}} - -{%endblock content%} diff --git a/art/plt/page.html b/art/plt/page.html deleted file mode 100644 index 536f4d0..0000000 --- a/art/plt/page.html +++ /dev/null @@ -1,33 +0,0 @@ -{%extends "base.html"%} -{%block html_lang%}{{page.lang}}{%endblock html_lang%} -{%block head_title%}{{page.title}}{%endblock head_title%} -{%block head_description%}{{page.summary}}{%endblock head_description%} -{%block head_og%} - - - - - - - -{%endblock head_og%} -{%block content%} -

{{page.title}}

- - - {{page.summary}} - - - {{page.content}} - - {%import "art_nav.html" as art_nav%} - {{art_nav.print(page, config)}} - -
-
-

By: {{page.author}}

-

Posted: {{page.cdate}}

- {%import "tag_list.html" as tag_list%} - {{tag_list.print(page.tags)}} -
-{%endblock content%} diff --git a/art/plt/page_list.html b/art/plt/page_list.html deleted file mode 100644 index 8cdebd8..0000000 --- a/art/plt/page_list.html +++ /dev/null @@ -1,22 +0,0 @@ -{%macro print(pages)%} -{%import "art_entry.html" as art_entry%} -
- {%for p in pages%} - {%if p.meta['tall'] is defined%} - {%if p.meta['wide'] is defined%} - {{art_entry.print(p, 'tall wide')}} - {%else%} - {{art_entry.print(p, 'tall')}} - {%endif%} - {%elif p.meta['wide'] is defined%} - {%if p.meta['tall'] is defined%} - {{art_entry.print(p, 'tall wide')}} - {%else%} - {{art_entry.print(p, 'tall')}} - {%endif%} - {%else%} - {{art_entry.print(p)}} - {%endif%} - {%endfor%} -
-{%endmacro%} diff --git a/art/plt/rss.xml b/art/plt/rss.xml deleted file mode 100644 index 60d2807..0000000 --- a/art/plt/rss.xml +++ /dev/null @@ -1,40 +0,0 @@ - - - - {{config.get("info", "title")}} - {{config.get("url", "main")}} - - A personal collection of drawings, sketches and more art related stuff. - en-us - Art - Copyright 2021 David Luévano Alvarado - david@luevano.xyz (David Luévano Alvarado) - david@luevano.xyz (David Luévano Alvarado) - {{config.get("info", "rss_run_date")}} - {{config.get("info", "rss_run_date")}} - pyssg v{{config.get("info", "version")}} - https://validator.w3.org/feed/docs/rss2.html - 30 - - {{config.get("url", "static")}}{{config.get("url", "default_image")}} - {{config.get("info", "title")}} - {{config.get("url", "main")}} - - {%for p in all_pages%} - - {{p.title}} - {{p.url}} - {{p.url}} - {{p.cdate_rss}} - {%for t in p.tags%} - {{t[0].lower().capitalize()}} - {%endfor%} - {{p.summary}} - - - {%endfor%} - - diff --git a/art/plt/sitemap.xml b/art/plt/sitemap.xml deleted file mode 100644 index c364f54..0000000 --- a/art/plt/sitemap.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - {%for p in all_pages%} - - {{p.url}} - {{p.mdate_sitemap if p.mdate_sitemap else p.cdate_sitemap}} - weekly - 1.0 - - {%endfor%} - - {%for t in all_tags%} - - {{t[1]}} - {{config.get("info", "sitemap_run_date")}} - daily - 0.5 - - {%endfor%} - diff --git a/art/plt/tag.html b/art/plt/tag.html deleted file mode 100644 index e5f2152..0000000 --- a/art/plt/tag.html +++ /dev/null @@ -1,20 +0,0 @@ -{%extends "base.html"%} -{%block html_lang%}en{%endblock html_lang%} -{%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%} -

Art filtered by {{tag[0]}}

- - {%import "page_list.html" as page_list%} - {{page_list.print(tag_pages)}} - -{%endblock content%} diff --git a/art/plt/tag_list.html b/art/plt/tag_list.html deleted file mode 100644 index b1d6f72..0000000 --- a/art/plt/tag_list.html +++ /dev/null @@ -1,9 +0,0 @@ -{%macro print(tags)%} -
-

Tags: - {%for t in tags-%} - {{t[0]}}{{", " if not loop.last else ""}} - {%-endfor%} -

-
-{%endmacro%} -- cgit v1.2.3-54-g00ecf