feat: Add image description as tooltip

This commit is contained in:
Thomas A. Christensen II 2024-11-20 15:52:35 -06:00
parent e209c9c1ce
commit db5b9d8163
Signed by: millironx
GPG key ID: B7044A3432851F64

View file

@ -9,14 +9,10 @@
} }
</style> </style>
<div class="motto"> <div class="motto" title="{{ $cardImageDescription }}">
<div class="motto-inside"> <div class="motto-inside">
<h1 id="motto"> <h1 id="motto">
{{ default .Title (safeHTML (.Param "motto")) }} {{ default .Title (safeHTML (.Param "motto")) }}
</h1> </h1>
</div> </div>
</div> </div>
<div
class="img-src"
style="background-image: url('{{ $mainimg.RelPermalink }}');"
></div>