diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2022-12-14 22:02:30 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2022-12-14 22:02:30 -0600 |
commit | 8461a3b8d48bc772ef449e37e5c98ffc254930fe (patch) | |
tree | 16ac0e759e6b361cd917602a25dad0bd128a8ea4 /pyssg.xyz/plt/blog/index.html | |
parent | abc0de079b895af1b705894eb2b63596e3e37274 (diff) |
add new files for pyssg.xyz, add multiple document support
Diffstat (limited to 'pyssg.xyz/plt/blog/index.html')
-rw-r--r-- | pyssg.xyz/plt/blog/index.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pyssg.xyz/plt/blog/index.html b/pyssg.xyz/plt/blog/index.html new file mode 100644 index 0000000..96d66ef --- /dev/null +++ b/pyssg.xyz/plt/blog/index.html @@ -0,0 +1,32 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <base href="{{config['url']['static']}}"> + <title>Index -- {{config['title']}}</title> + </head> + <body> + <h1>Index -- {{config['title']}}</h1> + <p>Some text here.</p> + + <p>Tags: + {%for t in all_tags%} + <a href="{{t[1]}}">{{t[0]}}</a>{{", " if not loop.last else ""}} + {%endfor%} + </p> + + <h2>Articles</h2> + <ul> + {%for p in all_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> |