diff options
Diffstat (limited to '_layouts/default.html')
| -rw-r--r-- | _layouts/default.html | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..eb74023 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,48 @@ +<!DOCTYPE html> +<html lang="{{ site.lang | default: "en-US" }}"> + <head> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="color-scheme" content="dark light" /> + <meta charset="utf-8"> + <title>{{ page.title }} - {{ site.title }}</title> + <style> + :root { + --bg-color: #ffffff; + --text-color: #000000; + } + @media (prefers-color-scheme: dark) { + :root { + --bg-color: #000000; + --text-color: #ffffff; + } + } + body { + background: var(--bg-color); + color: var(--text-color); + font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; + font-size: 16px; + margin: 2em auto; + max-width: 800px; + padding: 1em; + line-height: 1.4; + hyphens: auto + } + </style> + </head> + <body> +<!-- _layout/default.html BEGIN_content --> +{{ content -}} +<!-- _layout/default.html END_content --> + {% if site.data.build %} + <footer> + <small title="Reflects the whole site, not this page. Individual pages may be unchanged since earlier versions."> + site version + <a href="/cgit/hizbu.com.git/commit/?id={{ site.data.build.commit_full }}"> + <code>{{ site.data.build.commit }}</code> + </a> + ยท committed <time datetime="{{ site.data.build.date }}">{{ site.data.build.date }}</time> + </small> + </footer> + {% endif %} + </body> +</html> |