diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-08-05 20:24:45 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-08-05 20:24:45 +0300 |
commit | 83deb90ac187ab56a68a0a009e517c9ca0fce8a1 (patch) | |
tree | 37d0bb7e873d7378637389b7154fe1ecd1f6a1d7 /templates | |
parent | 7c7d026ef07d69b2660a9a6269e50422a2b0e4ce (diff) | |
download | obnam.org-83deb90ac187ab56a68a0a009e517c9ca0fce8a1.tar.gz |
style: add page tags just under the page title, at the top
Also, show the page's last modification time there.
Sponsored-by: author
Diffstat (limited to 'templates')
-rw-r--r-- | templates/page.tmpl | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/templates/page.tmpl b/templates/page.tmpl index 849dd7d..d3ef033 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -20,13 +20,18 @@ <TMPL_VAR TITLE> </span> -<TMPL_IF TAGS> -<nav class="tags"> -<TMPL_LOOP TAGS> -<TMPL_VAR LINK> -</TMPL_LOOP> -</nav> -</TMPL_IF> + <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> @@ -42,11 +47,6 @@ </section> </div> - <footer id="footer" class="pagefooter" role="contentinfo"> - <nav id="pageinfo"> - <div class="pagedate">Last edited <TMPL_VAR MTIME></div> - </nav> - </footer> </article> </body> </html> |