Add a favicon
This commit is contained in:
1 parent
33db96ffec
commit
eb62bfd1c9
4 files changed
+14
-2
No files matched your search
@@ -54,7 +54,6 @@ class PostCache {
|
|||||||
const reposts = await this.fetchCommentsByType("repost");
|
const reposts = await this.fetchCommentsByType("repost");
|
||||||
|
|
||||||
const comments = [...likes, ...mentions, ...reposts];
|
const comments = [...likes, ...mentions, ...reposts];
|
||||||
console.log(reposts[0]);
|
|
||||||
|
|
||||||
comments.forEach(comment => {
|
comments.forEach(comment => {
|
||||||
if (this.posts[comment.post]) {
|
if (this.posts[comment.post]) {
|
||||||
|
|||||||
+14
-1
@@ -1,7 +1,21 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="{{metadata.site.language}}">
|
<html lang="{{metadata.site.language}}">
|
||||||
<head>
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
|
||||||
<title>{{ title | safe }} | {{ metadata.site.name }}</title>
|
<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" />
|
<link rel="stylesheet" type="text/css" href="/assets/css/fontawesome.min.css" />
|
||||||
{% if includePrism %}
|
{% if includePrism %}
|
||||||
<link rel="stylesheet" type="text/css" href="/assets/css/prism.min.css" />
|
<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="author" content="{{ metadata.author.name }}" />
|
||||||
<meta name="description" content="{{ description }}" />
|
<meta name="description" content="{{ description }}" />
|
||||||
<meta charset="UTF-8" />
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header class="wrapper-lg row space-between">
|
<header class="wrapper-lg row space-between">
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
Reference in new issue
Block a user