This commit is contained in:
Pierre-Yves Gosset 2019-03-28 16:16:40 +01:00
parent 70f6791ebd
commit add4bb595a

View file

@ -7,9 +7,10 @@
<div class="container"> <div class="container">
<h1>{{ $t('news.title') }}</h1> <h1>{{ $t('news.title') }}</h1>
<span>{{ $t('news.subtitle') }}</span> <span>{{ $t('news.subtitle') }}</span>
<div v-for="bloc in $t('news.blocs')"> <div v-for="(key,bloc) in $t('news.blocs')">
<a :href="`#${bloc.id}`"><h2 :id="bloc.id">{{ bloc.title }}</h2></a> <a :href="`#${key}`"><h2 :id="key">{{ bloc.title }}</h2></a>
<p v-for="p in bloc.text" v-html="p"></p> <p v-for="p in bloc.text" v-html="p"></p>
<hr />
</div> </div>
</div> </div>
</section> </section>