Better default CSS/class for non-image attachments
This commit is contained in:
parent
58797c1b3a
commit
63e8608c9b
|
@ -34,20 +34,19 @@ fi
|
|||
|
||||
if test -z "$ATTACH_TEMPLATE"; then
|
||||
ATTACH_TEMPLATE='
|
||||
<a href="$ATTACH_URL">
|
||||
<div class="attachment">
|
||||
<strong>$ATTACH_NAME</strong>
|
||||
<a href="$ATTACH_URL"><strong>$ATTACH_NAME</strong></a>
|
||||
$ATTACH_DESC
|
||||
</div>
|
||||
</a>'
|
||||
'
|
||||
fi
|
||||
|
||||
|
||||
if test -z "$ATTACH_IMAGE_TEMPLATE"; then
|
||||
ATTACH_IMAGE_TEMPLATE='
|
||||
<figure>
|
||||
<figure class="attachment">
|
||||
<a href="$ATTACH_URL">
|
||||
<img class="attachment" src="$ATTACH_URL" alt="$ATTACH_DESC" title="$ATTACH_DESC">
|
||||
<img src="$ATTACH_URL" alt="$ATTACH_DESC" title="$ATTACH_DESC">
|
||||
</a>
|
||||
<figcaption>
|
||||
<a href="$ATTACH_URL"><b>$ATTACH_NAME</b></a><br>
|
||||
|
|
Ŝarĝante…
Reference in New Issue