stream description always above idnex
This commit is contained in:
parent
1588a29e08
commit
2bb3b0d4f9
1 changed files with 12 additions and 0 deletions
|
|
@ -1,6 +1,13 @@
|
|||
<template>
|
||||
<section>
|
||||
<h1 class="title">{{ title }}</h1>
|
||||
<vue3-markdown-it
|
||||
class="description"
|
||||
:source="description"
|
||||
v-bind="$mdOpts"
|
||||
>
|
||||
|
||||
</vue3-markdown-it>
|
||||
<ul class="index">
|
||||
<li v-for="topic in sortedTopics" :key="topic.title">
|
||||
<router-link
|
||||
|
|
@ -43,6 +50,11 @@ export default {
|
|||
? "<= pick a stream"
|
||||
: "Stream does not exist.";
|
||||
},
|
||||
description() {
|
||||
return this.title &&
|
||||
this.streams.find((s) => s.name == this.currentStream.name)
|
||||
.description.replace('_PUB_', '')
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
toValidID(string) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue