Add href to link

This commit is contained in:
Matt Rider 2019-07-02 16:25:34 -03:00
parent 6d852b5803
commit 30c5558925

View File

@ -52,7 +52,7 @@ export default class Embed extends Node {
},
},
template: `
<a class="embed"><h4>{{ title }}</h4><p>{{ description }}</p><em>{{ href }}</em></a>
<a class="embed" :href="href"><h4>{{ title }}</h4><p>{{ description }}</p><em>{{ href }}</em></a>
`,
}
}