diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2022-12-05 05:03:45 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2022-12-05 05:03:45 -0600 |
commit | 0b8441c79b047f81526bbb83febc40d7530e35d6 (patch) | |
tree | 71f4f3b51685fc81cda226476302c9084146ab39 /pyssg.xyz/plt/tag.html | |
parent | e69392a52f102d169c7d80994d169ba0743747a1 (diff) |
add extra configuration for more control, add pyssg.xyz example
this is the first step towards creating a way to handle multiple subdomains/configs in a single run for a more cohesive site generation
Diffstat (limited to 'pyssg.xyz/plt/tag.html')
-rw-r--r-- | pyssg.xyz/plt/tag.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pyssg.xyz/plt/tag.html b/pyssg.xyz/plt/tag.html new file mode 100644 index 0000000..59cbdf1 --- /dev/null +++ b/pyssg.xyz/plt/tag.html @@ -0,0 +1,26 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <base href="{{config['url']['static']}}"> + <title>Posts filtered by {{tag[0]}} -- {{config['title']}}</title> + </head> + <body> + <h1>Posts filtered by {{tag[0]}}</h1> + <p>Some text here.</p> + + <h2>Articles</h2> + <ul> + {%for p in tag_pages%} + {%if loop.previtem%} + {%if loop.previtem.cdate_list_sep !=p.cdate_list_sep%} + <h3>{{p.cdate_list_sep}}</h3> + {%endif%} + {%else%} + <h3>{{p.cdate_list_sep}}</h3> + {%endif%} + <li>{{p.cdate_list}} - <a href="{{p.url}}">{{p.title}}</a></li> + {%endfor%} + </ul> + </body> +</html> |