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/page.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/page.html')
-rw-r--r-- | pyssg.xyz/plt/page.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pyssg.xyz/plt/page.html b/pyssg.xyz/plt/page.html new file mode 100644 index 0000000..d7f5e43 --- /dev/null +++ b/pyssg.xyz/plt/page.html @@ -0,0 +1,25 @@ +<!DOCTYPE html> +<html lang="{{page.lang}}"> + <head> + <meta charset="utf-8"> + <base href="{{config['url']['static']}}"> + <title>{{page.title}} -- {{config['title']}}</title> + </head> + <body> + <h1>{{page.title}}</h1> + <p>By {{page.author}}</p> + <p>Created: {{page.cdate}}</p> + {%if page.mdate is not none%} + <p>Modified: {{page.mdate}}</p> + {%endif%} + + {{page.content}} + + <p>Tags: + {%for t in page.tags%} + <a href="{{t[1]}}">{{t[0]}}</a>{{", " if not loop.last else ""}} + {%endfor%} + </p> + </body> +</html> + |