mirror of
https://github.com/httpjamesm/AnonymousOverflow.git
synced 2025-06-01 20:32:21 +00:00
media query theme (#139)
* feat: use css media query to derive theme * fix: rename alt for toggle images * feat: remove no-cache middleware
This commit is contained in:
parent
b0ae8a50b5
commit
e409176642
12 changed files with 17 additions and 77 deletions
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html data-theme="{{ .theme }}">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>{{ .question.Title }} | AnonymousOverflow</title>
|
||||
|
@ -25,7 +25,6 @@
|
|||
<a href="/" class="logo-link">
|
||||
<img class="logo" src="/static/codecircles.webp" alt="AnonymousOverflow home" />
|
||||
</a>
|
||||
{{ template "themeSwitcher.html" . }}
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue