mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
fix SEO tags and attributes
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
[routerLink]="['/videos/watch', video.uuid]" [attr.title]="video.name"
|
||||
class="video-thumbnail"
|
||||
>
|
||||
<img alt="" [attr.aria-labelledby]="video.name" [attr.src]="getImageUrl()" [ngClass]="{ 'blur-filter': nsfw }" />
|
||||
<img [attr.alt]="video.name" [attr.aria-labelledby]="video.name" [attr.src]="getImageUrl()" [ngClass]="{ 'blur-filter': nsfw }" />
|
||||
|
||||
<div class="video-thumbnail-overlay">
|
||||
{{ video.durationLabel }}
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<div class="video-info-first-row">
|
||||
<div>
|
||||
<div class="d-block d-sm-none"> <!-- only shown on small devices, has its conterpart for larger viewports below -->
|
||||
<div class="video-info-name">{{ video.name }}</div>
|
||||
<h1 class="video-info-name">{{ video.name }}</h1>
|
||||
|
||||
<div i18n class="video-info-date-views">
|
||||
Published {{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
<div class="d-flex justify-content-between align-items-sm-end">
|
||||
<div class="d-none d-sm-block">
|
||||
<div class="video-info-name">{{ video.name }}</div>
|
||||
<h1 class="video-info-name">{{ video.name }}</h1>
|
||||
|
||||
<div i18n class="video-info-date-views">
|
||||
Published {{ video.publishedAt | myFromNow }} - {{ video.views | myNumberFormatter }} views
|
||||
|
||||
Reference in New Issue
Block a user