mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 17:25:30 -04:00
* prepare dark mode stuffs * themed all global colors * store preference in local storage * toggle styling * lightbulb position * minify bundled script with uglify-js instead of hugo * detect whether user has an OS-wide dark mode preference and use that by default * two different colors for each homepage link * inline bulb SVGs into stylesheet * fingerprint and cache styles for a year * fix lightbulb positioning with weird magic numbers, will come back to that * themed syntax highlighting * use terser instead of uglify-js (b/c of ES6)
23 lines
941 B
HTML
23 lines
941 B
HTML
<!doctype html>
|
|
{{ printf "<!--\n ,,, ,,,\n ;\" ^; ;\" \",\n ; s$$$$$s ;\n , ss$$$$$$$ss ,\"\n ;$$$$$$$$$$$$$$$$\n $$$$$$$$$$$$$$$$$$ Hello, human. :)\n $$$$$\"\"\"$$$\"\"\"$$$$$$\n $$$$$ p\"$$$\"q $$$$$ %s\n $$$$ .$$$$$. $$$$\n $$$$$$$$$$$$$$$$$\n \"$$$$\"*\"$$$$\"\n \"$$.$$\"\n-->" ("humans.txt" | absURL) | safeHTML }}
|
|
<html lang="{{ .Site.LanguageCode | default "en" }}">
|
|
<head>
|
|
{{ partial "head/head" . }}
|
|
</head>
|
|
<body class="light">
|
|
{{ partialCached "page/header" . }}
|
|
<div id="wrap">
|
|
{{ block "main" . }}{{ end }}
|
|
</div>
|
|
{{ partialCached "page/footer" . }}
|
|
{{ partial "scripts/bundle" . }}
|
|
{{ partial "scripts/shortcodes" . }}
|
|
{{ if eq hugo.Environment "production" }}
|
|
{{ partialCached "scripts/simple_analytics" . }}
|
|
{{ end }}
|
|
</body>
|
|
</html>
|
|
|
|
{{ printf "<!-- %s -->" hugo.Environment | safeHTML }}
|
|
{{ printf "<!-- %s -->" hugo.Version | safeHTML }}
|