diff options
| author | lemurianmage <azureazure@disroot.org> | 2026-06-22 23:03:23 +0200 |
|---|---|---|
| committer | lemurianmage <azureazure@disroot.org> | 2026-06-22 23:03:23 +0200 |
| commit | 95363147e9f8cf3186531e5f249d3869abc622e6 (patch) | |
| tree | fbb503e470c6bfdf2828fb4ee9616840942a6b4a /template.html | |
| parent | fb6d875e98a3d1211b4d275b6c012679ac26c446 (diff) | |
| download | slimegirl.nexus-markdown-rewrite.tar.gz | |
lowdown for templating nowmarkdown-rewrite
Diffstat (limited to 'template.html')
| -rw-r--r-- | template.html | 59 |
1 files changed, 21 insertions, 38 deletions
diff --git a/template.html b/template.html index 37f314e..ea53fa8 100644 --- a/template.html +++ b/template.html @@ -1,50 +1,33 @@ <!DOCTYPE html> -<html> +<html lang="en"> <head> - <meta charset="utf8"> - <meta name="viewport" content="width=device-width, initial-scale=1"> - <title></title> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width,initial-scale=1"> + $ifdef(date)$ + <meta name="date" content="$date.escapehtmlattr$"> + $endif$ <link rel="stylesheet" href="/stylesheet.css"> + $for(css.split)$ + <link rel="stylesheet" href="$this.escapehtmlurl$"> + $endfor$ + $for(javascript.split)$ + <script src="$this.escapehtmlurl$"></script> + $endfor$ + <title>$ifdef(title)$$title.escapehtml$$endif$</title> + $htmlheader$ </head> <body> - <h2> - <nav> - <a href="/">home</a> - / - <a href=".." id="go-up">go up</a> - </nav> - </h2> - - <article></article> + <nav> + <a href="/">home</a> + / + <a href=".." id="go-up">go up</a> + </nav> + <article>$body$</article> <hr> - <footer> <address><a href="contact.html">contact</a></address> <br> - <a href="https://www.gnu.org/software/emacs/"> - <img src="/buttons/emacs.png" title="emacs"> - </a> - <a href="https://kittenlikeasmallcat.neocities.org"> - <img src="/buttons/kitten.gif" title="kittenlikeasmallcat"> - </a> - <a href="https://quasivoid.net"> - <img src="/buttons/quasivoid.gif" title="vivienne"> - </a> - <a href="https://unlife.nyx.land"> - <img src="/buttons/unlife.png" title="nyx"> - </a> - <a href="https://social.xenofem.me"> - <img src="/buttons/xnfm.png" title="xenofem.me"> - </a> - <a href="https://secondshell.net"> - <img src="/buttons/secondshell.webp" title="secondshell"> - </a> - <a href="https://twinningl00m.neocities.org"> - <img src="/buttons/murrumurgreen.png" title="twinningl00m"> - </a> - <a href="https://magentahardcore.com"> - <img src="/buttons/n1l.gif" title="n1l"> - </a> </footer> + </body> </html> |
