Skip to content

Commit

Permalink
Use a proper favicon (#2001)
Browse files Browse the repository at this point in the history
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
  • Loading branch information
zecakeh authored Nov 19, 2024
1 parent 0657cc1 commit b4c52ab
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
Binary file added assets/icons/favicon.ico
Binary file not shown.
12 changes: 12 additions & 0 deletions assets/icons/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions changelogs/internal/newsfragments/2001.clarification
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use a proper Matrix favicon
11 changes: 11 additions & 0 deletions layouts/partials/favicons.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{{- /*

A modified version of the favicons.html partial in Docsy.

*/ -}}

{{- $ico := resources.Get "icons/favicon.ico" -}}
{{- $svg := resources.Get "icons/favicon.svg" -}}

<link rel="shortcut icon" href="{{ $ico.RelPermalink }}" >
<link rel="icon" type="image/svg+xml" href="{{ $svg.RelPermalink }}" />

0 comments on commit b4c52ab

Please sign in to comment.