diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-05-21 11:44:08 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-05-21 11:44:08 -0500 |
| commit | 013753b666cfbae213921af4193620c6b356fbf6 (patch) | |
| tree | 026e256dfdcd5dddf7c85b961e7c5536065304d3 | |
| parent | dcd004dabbed3a35cb4f59e94712f358528ead87 (diff) | |
| download | embedtube-013753b666cfbae213921af4193620c6b356fbf6.tar.xz embedtube-013753b666cfbae213921af4193620c6b356fbf6.zip | |
add dynamic svg favicon
| -rw-r--r-- | static/favicon.svg | 1 | ||||
| -rw-r--r-- | templates/base.html | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/static/favicon.svg b/static/favicon.svg new file mode 100644 index 0000000..92a4521 --- /dev/null +++ b/static/favicon.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px"><style>path {fill:black} @media (prefers-color-scheme: dark) {path {fill: white}}</style><path d="m160-800c-22 0-40.818 7.849-56.484 23.516-15.667 15.667-23.516 34.484-23.516 56.484v480c0 22 7.849 40.818 23.516 56.484 15.667 15.667 34.484 23.516 56.484 23.516h240v-80h-240v-480h640v336.02h80v-336.02c0-22-7.849-40.818-23.516-56.484-15.667-15.667-34.484-23.516-56.484-23.516h-640zm220 140v360l280-180-280-180zm203.98 316.02-143.98 143.98 143.98 143.98 56.016-56.953-87.031-87.031 87.031-87.031-56.016-56.953zm192.03 0-56.016 56.953 87.031 87.031-87.031 87.031 56.016 56.953 143.98-143.98-143.98-143.98z"/></svg> diff --git a/templates/base.html b/templates/base.html index 03ae355..1a8f08d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -5,6 +5,7 @@ <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1"> <link rel="stylesheet" href="/static/style.css"> + <link rel="icon" href="/static/favicon.svg" type="image/svg+xml"> {{ block "scripts" . }}{{ end }} </head> <body> |
