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:
@@ -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>
|
||||
|
Reference in New Issue
Block a user