add alt text to images
This commit is contained in:
parent
1c622ae4a3
commit
8fa1cad6b6
3 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="author">
|
||||
|
||||
<g-image class="author__image" src="~/assets/images/author.jpg" width="180" height="180" blur="5" />
|
||||
<g-image alt="Author image" class="author__image" src="~/assets/images/author.jpg" width="180" height="180" blur="5" />
|
||||
|
||||
<h1 v-if="showTitle" class="author__site-title">
|
||||
{{ $static.metaData.siteName }}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="post-card content-box" :class="{'post-card--has-poster' : post.poster}">
|
||||
<div class="post-card__header">
|
||||
<g-image v-if="post.coverImage" class="post-card__image" :src="post.coverImage" />
|
||||
<g-image alt="Cover image" v-if="post.coverImage" class="post-card__image" :src="post.coverImage" />
|
||||
</div>
|
||||
<div class="post-card__content">
|
||||
<h2 class="post-card__title" v-html="post.title" />
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
<div class="post content-box">
|
||||
<div class="post__header">
|
||||
<g-image v-if="$page.post.coverImage" :src="$page.post.coverImage" />
|
||||
<g-image alt="Cover image" v-if="$page.post.coverImage" :src="$page.post.coverImage" />
|
||||
</div>
|
||||
|
||||
<div class="post__content" v-html="$page.post.content" />
|
||||
|
|
Loading…
Add table
Reference in a new issue