Merge pull request #131 from chrisnovakovic/video-title

Set page title to video description in video view
This commit is contained in:
Pablo Ferreiro 2023-02-28 11:40:30 +00:00 committed by GitHub
commit ecba96eaf4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,10 @@
{var $og_content = $item->video->originCover} {var $og_content = $item->video->originCover}
{var $og_url = url_video_internal($info->detail->uniqueId, $item->id)} {var $og_url = url_video_internal($info->detail->uniqueId, $item->id)}
{if !empty($item->desc)}
{var $title = trim($item->desc)}
{/if}
{block content} {block content}
<div class="columns is-centered is-vcentered is-gapless"> <div class="columns is-centered is-vcentered is-gapless">
<div class="column has-text-centered"> <div class="column has-text-centered">