~cyborg/michelangelo

6ee441cf3d734d735c4ea5d3e655432b996e33d2 — cyborg 9 months ago da17041
remove post captions
1 files changed, 2 insertions(+), 8 deletions(-)

M index.php
M index.php => index.php +2 -8
@@ 118,11 118,8 @@ function get_dashboard_posts($client, $post_start, $limit, $post_type='photo') {
            $post_row .= <<<EOD
                <div class="col-sm-6 col-lg-4 mb-4">
                    <div class="card" data-type="$type" data-id="$id">
                        <img class="card-img h-100 w-100" src="$url" loading="lazy">
                        <a data-fancybox="gallery" aria-label="Open gallery viewer" href="$url">
                            <div class="card-body">
                                <h5 class="card-title">$caption</h5>
                            </div>
                            <img class="card-img h-100 w-100" src="$url" loading="lazy">
                        </a>
                    </div>
                </div>


@@ 138,11 135,8 @@ function get_dashboard_posts($client, $post_start, $limit, $post_type='photo') {
            $post_row .= <<<EOD
                <div class="col-sm-6 col-lg-4 mb-4">
                    <div class="card" data-type="$type" data-id="$id">
                        <video class="card-img h-100 w-100" controls autoplay poster="$thumbnail"><source src="$url"></source></video>
                        <a data-fancybox="gallery" aria-label="Open gallery viewer" href="$url">
                            <div class="card-body">
                                <h5 class="card-title">$caption</h5>
                            </div>
                            <video class="card-img h-100 w-100" controls autoplay poster="$thumbnail"><source src="$url"></source></video>
                        </a>
                    </div>
                </div>