fix templates
This commit is contained in:
parent
db2bb224c1
commit
fe58f3c73f
|
@ -3,7 +3,7 @@
|
||||||
* Plugin Name: FediEmbedi
|
* Plugin Name: FediEmbedi
|
||||||
* Plugin URI: https://git.feneas.org/mediaformat/fediembedi
|
* Plugin URI: https://git.feneas.org/mediaformat/fediembedi
|
||||||
* Description: Widgets and shortcodes to show your Fediverse profile timeline
|
* Description: Widgets and shortcodes to show your Fediverse profile timeline
|
||||||
* Version: 0.10.5
|
* Version: 0.10.6
|
||||||
* Author: mediaformat
|
* Author: mediaformat
|
||||||
* Author URI: https://mediaformat.org
|
* Author URI: https://mediaformat.org
|
||||||
* License: GPLv3
|
* License: GPLv3
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<!-- mastodon -->
|
<!-- mastodon -->
|
||||||
<div class="scrollable" <?php if ($height) : echo 'style="height: $height;"'; ?>>
|
<div class="scrollable" <?php if ($height) : echo 'style="height: $height;"'; endif; ?>>
|
||||||
<div role="feed">
|
<div role="feed">
|
||||||
<?php if($show_header): ?>
|
<?php if($show_header): ?>
|
||||||
<div class="account-timeline__header">
|
<div class="account-timeline__header">
|
||||||
|
@ -112,3 +112,4 @@
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<?php
|
|
@ -1,5 +1,5 @@
|
||||||
<!-- peertube -->
|
<!-- peertube -->
|
||||||
<div class="scrollable" <?php if ($height) : echo 'style="height: $height;"'; ?>>
|
<div class="scrollable" <?php if ($height) : echo 'style="height: $height;"'; endif; ?>>
|
||||||
<div role="feed">
|
<div role="feed">
|
||||||
<?php if($show_header): ?>
|
<?php if($show_header): ?>
|
||||||
<div class="peertube-timeline__header">
|
<div class="peertube-timeline__header">
|
||||||
|
@ -51,3 +51,4 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<?php
|
|
@ -1,5 +1,5 @@
|
||||||
<!-- pixelfed -->
|
<!-- pixelfed -->
|
||||||
<div class="scrollable" <?php if ($height) : echo 'style="height: $height;"'; ?>>
|
<div class="scrollable" <?php if ($height) : echo 'style="height: $height;"'; endif; ?>>
|
||||||
<div role="feed" class="embed-card pixelfed">
|
<div role="feed" class="embed-card pixelfed">
|
||||||
<div class="pixelfed-inner card status-card-embed card-md-rounded-0 border">
|
<div class="pixelfed-inner card status-card-embed card-md-rounded-0 border">
|
||||||
<?php if($show_header): ?>
|
<?php if($show_header): ?>
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
</a><?php
|
</a><?php
|
||||||
elseif($attachment->type === 'video'): ?>
|
elseif($attachment->type === 'video'): ?>
|
||||||
<video src="<?php echo $attachment->url; ?>" controls poster="<?php echo $attachment->preview_url; ?>" class='media-gallery__item' alt="<?php echo $attachment->description; ?>">;
|
<video src="<?php echo $attachment->url; ?>" controls poster="<?php echo $attachment->preview_url; ?>" class='media-gallery__item' alt="<?php echo $attachment->description; ?>">;
|
||||||
endif; ?>
|
<?php endif; ?>
|
||||||
</article>
|
</article>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
|
@ -60,3 +60,4 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<?php
|
Loading…
Reference in New Issue