2018-11-02 11:29:02 +05:30
|
|
|
<template>
|
|
|
|
<section class='article-top-section video-section-bg'>
|
2019-02-19 17:01:31 +05:30
|
|
|
<div>
|
2018-11-02 11:29:02 +05:30
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-8">
|
|
|
|
<h2>{{ title }}</h2>
|
2018-11-02 12:51:11 +05:30
|
|
|
<span v-if="typeof author !== 'undefined' || author !== null" class="text-muted">
|
2019-02-27 12:34:53 +05:30
|
|
|
<span v-if="publishDate">Published on {{ publishDate }}</span>
|
|
|
|
<span v-if="author">— {{ author }}</span>
|
2018-11-02 11:29:02 +05:30
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4 text-right">
|
|
|
|
<slot></slot>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
props: ['title', 'publishDate', 'author'],
|
2018-11-14 13:05:22 +05:30
|
|
|
name: 'ContentTitle',
|
2018-11-02 11:29:02 +05:30
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="css" scoped>
|
|
|
|
</style>
|