From 6f43dd1c3a52750a9c7eefe02cfe8bb4dcf9acf5 Mon Sep 17 00:00:00 2001 From: Alexandre Chazal Date: Thu, 18 Aug 2022 18:00:53 +0200 Subject: [PATCH] fix(posts): fix broken rendering of svgs --- assets/scss/style.scss | 5 +++++ layouts/posts/single.html | 2 +- static/link.svg | 1 - 3 files changed, 6 insertions(+), 2 deletions(-) delete mode 100644 static/link.svg diff --git a/assets/scss/style.scss b/assets/scss/style.scss index 0a22729..731ee87 100644 --- a/assets/scss/style.scss +++ b/assets/scss/style.scss @@ -975,4 +975,9 @@ a.footnote-ref { 100% { background-position: 80% 50%; } +} + +.post-info object { + width: 24px; + height: 24px; } \ No newline at end of file diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 4cb7f42..68ed38e 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -23,7 +23,7 @@

{{ .Title }}

- {{ .Content | replaceRE "()" `${1}${3}` | safeHTML }} + {{ .Content | replaceRE "()" `${1}${3}` | safeHTML }}
{{- if .Site.Params.relatedPosts }} {{- partial "related-posts.html" . -}} diff --git a/static/link.svg b/static/link.svg deleted file mode 100644 index 74435b0..0000000 --- a/static/link.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file