diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-07-24 10:46:30 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-07-24 10:46:30 +0300 |
commit | a9fb6e85eae3cf5e5cd0a49233f49b7ecc8133c6 (patch) | |
tree | b2c8cd5f97b0bfda7de13cf3a0c39dde376d87f6 /templates/page.tmpl | |
parent | f7079d9800822112eba01239789c3092b16b976d (diff) | |
download | ewww.liw.fi-a9fb6e85eae3cf5e5cd0a49233f49b7ecc8133c6.tar.gz |
add styling from ikiwiki-style
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> |