add ButtonUrl component & misc fixes

This commit is contained in:
axolotle
2021-07-09 13:29:39 +02:00
parent f7081d0514
commit 3accfb5b66
7 changed files with 87 additions and 12 deletions
+7 -6
View File
@@ -10,22 +10,23 @@
</div>
<figcaption class="mt-3">
<p class="m-0">
<strong>{{ toCommaList(node.authors) }}</strong>,
<em v-html="' ' + trim(node.title)" />
<br class="d-none d-md-inline">
{{ node.date.start }}
</p>
<node-view-title :node="node" tag="p" class="m-0" />
</figcaption>
</figure>
</template>
<script>
import { trim, toCommaList } from '@/helpers/common'
import { NodeViewTitle } from '@/components/nodes'
export default {
name: 'NodeViewFigure',
components: {
NodeViewTitle
},
props: {
node: { type: Object, required: true }
},