[social] add rel=me
This commit is contained in:
parent
1f6c350343
commit
714460917a
|
@ -21,7 +21,7 @@
|
||||||
</nuxt-link>
|
</nuxt-link>
|
||||||
</li>
|
</li>
|
||||||
<li v-for="link in links" :key="link.url" class="mb-2">
|
<li v-for="link in links" :key="link.url" class="mb-2">
|
||||||
<a :href="link.url">
|
<a :href="link.url" target="_blank" rel="me">
|
||||||
<Icon :v="link.icon" :set="link.iconSet || 'l'"/>
|
<Icon :v="link.icon" :set="link.iconSet || 'l'"/>
|
||||||
{{link.headline}}
|
{{link.headline}}
|
||||||
</a>
|
</a>
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
</p>
|
</p>
|
||||||
<ul class="list-unstyled mb-4">
|
<ul class="list-unstyled mb-4">
|
||||||
<li v-for="link in supportLinks" :key="link.url" class="mb-2">
|
<li v-for="link in supportLinks" :key="link.url" class="mb-2">
|
||||||
<a :href="link.url">
|
<a :href="link.url" target="_blank" rel="me">
|
||||||
<Icon :v="link.icon" :set="link.iconSet || 'l'"/>
|
<Icon :v="link.icon" :set="link.iconSet || 'l'"/>
|
||||||
{{link.headline}}
|
{{link.headline}}
|
||||||
</a>
|
</a>
|
||||||
|
@ -104,6 +104,10 @@
|
||||||
<EasterEgg/>
|
<EasterEgg/>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
<div v-else>
|
||||||
|
<a :href="link.url" v-for="link in links" :key="link.url" target="_blank" rel="me"> </a>
|
||||||
|
<a v-for="link in supportLinks" :key="link.url" :href="link.url" target="_blank" rel="me"> </a>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -85,7 +85,7 @@ function* getLink(links, feature, locale) {
|
||||||
for (let key in featureLinks) {
|
for (let key in featureLinks) {
|
||||||
if (!featureLinks.hasOwnProperty(key)) { continue; }
|
if (!featureLinks.hasOwnProperty(key)) { continue; }
|
||||||
let [, localesAllowed] = key.split('_');
|
let [, localesAllowed] = key.split('_');
|
||||||
if (localesAllowed === undefined || localesAllowed.split(',').includes(locale)) {
|
if (localesAllowed === undefined || locale === '_' || localesAllowed.split(',').includes(locale)) {
|
||||||
yield featureLinks[key];
|
yield featureLinks[key];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue