1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00

fileserver: Add color-scheme meta tag (#5475)

This commit is contained in:
Kid 2023-04-03 10:44:21 +08:00 committed by GitHub
parent b1366c7e46
commit f9bd2d3e92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -94,6 +94,7 @@
<head> <head>
<title>{{html .Name}}</title> <title>{{html .Name}}</title>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="color-scheme" content="light dark">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<style> <style>
* { padding: 0; margin: 0; box-sizing: border-box; } * { padding: 0; margin: 0; box-sizing: border-box; }