Improve embed page
This commit is contained in:
@@ -52,7 +52,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="card" style="margin: 0 auto;">
|
<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>
|
<a class="button" id="mastodonLink" href="{{ .postUrl }}" target="_blank" style="display: block;">View on Mastodon</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -96,3 +96,4 @@
|
|||||||
|
|
||||||
</html>
|
</html>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user