diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-08-05 20:28:53 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-08-10 10:32:54 +0000 |
commit | 758be23ab231a4d9d3d86eb0480712d24439e0ee (patch) | |
tree | 40c80387a9ded3d5748961731b7515ba81c81e12 /templates/page.tmpl | |
parent | e70ca1846001111a4ff3a668968b60eb98a1ff6b (diff) | |
download | subplot.liw.fi-758be23ab231a4d9d3d86eb0480712d24439e0ee.tar.gz |
style: add new page templates
These are more to my liking.
Sponsored-by: author
Diffstat (limited to 'templates/page.tmpl')
-rw-r--r-- | templates/page.tmpl | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl new file mode 100644 index 0000000..d3ef033 --- /dev/null +++ b/templates/page.tmpl @@ -0,0 +1,52 @@ +<!DOCTYPE html> +<TMPL_IF HTML_LANG_CODE><html lang="<TMPL_VAR HTML_LANG_CODE>" dir="<TMPL_VAR HTML_LANG_DIR>" xmlns="http://www.w3.org/1999/xhtml"><TMPL_ELSE><html xmlns="http://www.w3.org/1999/xhtml"></TMPL_IF> +<head> + <meta charset="utf-8" /> + <title><TMPL_VAR TITLE></title> + <meta name="viewport" content="width=device-width, initial-scale=1" /> + <link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" /> +</head> +<body lang=en> + <article class="page"> + <section class="pageheader"> + <header class="header"> + <span> + <span class="parentlinks"> + <TMPL_LOOP PARENTLINKS> + <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a> → + </TMPL_LOOP> + </span> + <span class="title"> + <TMPL_VAR TITLE> + </span> + + <nav id="pageinfo"> + <span class="pagedate"><TMPL_VAR MTIME></span> + + <TMPL_IF TAGS> + <span class="tags"> + <TMPL_LOOP TAGS> + <TMPL_VAR LINK> + </TMPL_LOOP> + </span> + </TMPL_IF> + + </nav> + + </span> + </header> + </section> + + <TMPL_IF SIDEBAR> + <aside class="sidebar"><TMPL_VAR SIDEBAR></aside> + </TMPL_IF> + + <div id="pagebody"> + <section> + <TMPL_VAR CONTENT> + </section> + </div> + + </article> +</body> +</html> |