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