Improve embed page
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<div class="card" style="margin: 0 auto;">
|
||||
<img class="cat-image" id="catImage" src="{{ .imageUrl }}" alt="Cat Photo">
|
||||
<img class="cat-image" id="catImage" src="{{ .imageUrl }}" alt="Cat Photo" onload="this.removeAttribute('onload')">
|
||||
<a class="button" id="mastodonLink" href="{{ .postUrl }}" target="_blank" style="display: block;">View on Mastodon</a>
|
||||
</div>
|
||||
|
||||
@@ -96,3 +96,4 @@
|
||||
|
||||
</html>
|
||||
{{ end }}
|
||||
|
||||
|
Reference in New Issue
Block a user