diff options
Diffstat (limited to 'www/layouts/baseof.html')
-rw-r--r-- | www/layouts/baseof.html | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/www/layouts/baseof.html b/www/layouts/baseof.html new file mode 100644 index 0000000..6d00be5 --- /dev/null +++ b/www/layouts/baseof.html @@ -0,0 +1,49 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8"> + <meta charset="UTF-8" /> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <link rel="icon" href="/favicon.ico" /> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title>{{ block "title" . }} + {{ .Site.Title }} + {{ end }}</title> + {{ partial "js.html" "res/js/color-scheme.ts" }} + {{ partial "css-res.html" (partial "highlight.html" dict) }} + {{ partial "css.html" "res/css/base.css" }} + {{ block "head" . }} + {{ end }} + {{ range .Params.css }} + {{ partial "css.html" (printf "res/css/%s.css" .) }} + {{ end }} + </head> + <body> + {{ block "pre-article" .}} + {{ end }} + <article id="main-article"> + {{ block "content" . }} + {{ end }} + <hr/> + <footer class="mono-link"> + <p id="license"> + <small>This work is licensed under + <a rel="license noopener noreferrer" + href="https://creativecommons.org/licenses/by-nc/4.0/" + target="_blank"> + <span id="license-text">CC BY-NC 4.0</span> + <span id="license-img-container"> + <img src="https://mirrors.creativecommons.org/presskit/icons/cc.svg"/> + <img src="https://mirrors.creativecommons.org/presskit/icons/by.svg"/> + <img src="https://mirrors.creativecommons.org/presskit/icons/nc.svg"/> + </span> + </a> + </small> + </p> + </footer> + </article> + + {{ block "scripts" . }} + {{ end }} +</body> +</html> |