Add a favicon
This commit is contained in:
parent
33db96ffec
commit
eb62bfd1c9
@ -54,7 +54,6 @@ class PostCache {
|
||||
const reposts = await this.fetchCommentsByType("repost");
|
||||
|
||||
const comments = [...likes, ...mentions, ...reposts];
|
||||
console.log(reposts[0]);
|
||||
|
||||
comments.forEach(comment => {
|
||||
if (this.posts[comment.post]) {
|
||||
|
@ -1,7 +1,21 @@
|
||||
<!doctype html>
|
||||
<html lang="{{metadata.site.language}}">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
|
||||
<title>{{ title | safe }} | {{ metadata.site.name }}</title>
|
||||
<link
|
||||
rel="icon"
|
||||
type="image/png"
|
||||
href="/assets/favicon/light/favicon.ico"
|
||||
media="(prefers-color-scheme: light)"
|
||||
/>
|
||||
<link
|
||||
rel="icon"
|
||||
type="image/png"
|
||||
href="/assets/favicon/dark/favicon.ico"
|
||||
media="(prefers-color-scheme: dark)"
|
||||
/>
|
||||
<link rel="stylesheet" type="text/css" href="/assets/css/fontawesome.min.css" />
|
||||
{% if includePrism %}
|
||||
<link rel="stylesheet" type="text/css" href="/assets/css/prism.min.css" />
|
||||
@ -20,7 +34,6 @@
|
||||
|
||||
<meta name="author" content="{{ metadata.author.name }}" />
|
||||
<meta name="description" content="{{ description }}" />
|
||||
<meta charset="UTF-8" />
|
||||
</head>
|
||||
<body>
|
||||
<header class="wrapper-lg row space-between">
|
||||
|
BIN
src/assets/favicon/dark/favicon.ico
Normal file
BIN
src/assets/favicon/dark/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
BIN
src/assets/favicon/light/favicon.ico
Normal file
BIN
src/assets/favicon/light/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
Loading…
Reference in New Issue
Block a user