Breadcrumbs: Use <span> element in last item (_self).

To be able to style it similarly to the links, but without a link.
This commit is contained in:
2019-03-28 16:03:24 +01:00
parent 5c8181ae41
commit a3b8a8933c

View File

@@ -3,7 +3,7 @@ const TEMPLATE = `
<ul>
<li v-for="crumb in breadcrumbs">
<a :href="crumb.url" v-if="!crumb._self">{{ crumb.name }}</a>
<template v-else>{{ crumb.name }}</template>
<template v-else><span>{{ crumb.name }}</span></template>
</li>
</ul>
</div>