fix image links

This commit is contained in:
Gabriel 2023-04-11 12:46:36 -04:00
parent 50bf10ec81
commit 8ef930483d
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
<div class="image-container"> <div class="media-container">
{{ if .Get "href"}} {{ if .Get "href"}}
<a href='{{.Get "href"}}'> <a href='{{.Get "href"}}'>
{{end}} {{end}}

View file

@ -708,7 +708,7 @@ article a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after {conten
.media-container a::after, .liberapay-container a::after, .tags a::after, .listing a::after, #tags a::after{ .media-container a::after, .liberapay-container a::after, .tags a::after, .listing a::after, #tags a::after{
content: "" !important;margin:0 !important;font-size:0; content: "" !important;margin:0 !important;font-size:0;
} }
.media-container a[href^="https"]:where(:not([href*="{{.Site.BaseURL}}"]))::after {content:"↗️" !important;font-size:18px;margin:5px;text-decoration: none !important;}
.media-container a{ .media-container a{
flex-direction: row; flex-direction: row;
} }