Improve embed page

This commit is contained in:
2025-07-25 11:49:43 +03:30
parent 15485b03d4
commit 71ed94d943

View File

@@ -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 }}