Fix rel links

This commit is contained in:
Chocobozzz 2020-09-24 10:12:33 +02:00
parent d55c051104
commit 0ea7764dd6
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<template>
<a v-bind:href="actor.url" target="_blank" class="actor" v-bind:title="linkTitle">
<a v-bind:href="actor.url" rel="nofollow noreferrer noopener" target="_blank" class="actor" v-bind:title="linkTitle">
<img v-if="actor.avatar" v-bind:src="actor.avatar.url" alt="">
<strong>{{ actor.displayName }}</strong>

View File

@ -1,7 +1,7 @@
<template>
<div class="channel root-result">
<a target="_blank" v-bind:href="channel.url" :title="discoverChannelMessage" class="avatar">
<a target="_blank" rel="nofollow noreferrer noopener" v-bind:href="channel.url" :title="discoverChannelMessage" class="avatar">
<img v-if="channel.avatar" v-bind:src="channel.avatar.url" alt="">
<img v-else src="/img/default-avatar.png" alt="">
</a>
@ -9,7 +9,7 @@
<div class="information">
<div class="title-block">
<h5 class="title">
<a target="_blank" v-bind:href="channel.url" :title="discoverChannelMessage">
<a target="_blank" rel="nofollow noreferrer noopener" v-bind:href="channel.url" :title="discoverChannelMessage">
{{ channel.displayName }}
</a>
</h5>
@ -26,7 +26,7 @@
<div class="description">{{ channel.description }}</div>
<div class="button">
<a class="button-link" target="_blank" v-bind:href="channel.url">
<a class="button-link" rel="nofollow noreferrer noopener" target="_blank" v-bind:href="channel.url">
{{ discoverChannelMessage }}
</a>
</div>