docs: sync English docs with Chinese docs

This commit is contained in:
DIYgod
2019-09-04 18:23:39 +08:00
parent 24cab914d8
commit 00e6b7211c
22 changed files with 769 additions and 635 deletions

View File

@@ -1,5 +1,8 @@
<template>
<div class="routeBlock" :id="path">
<p class="badge">
<Badge text="support BT" type="tip" vertical="middle" v-if="supportBT"/> <Badge text="support podcast" type="tip" vertical="middle" v-if="supportPodcast"/> <a target="_blank" href="/en/#faqs" v-if="anticrawler"><Badge text="strict anti-crawler policy" vertical="middle" type="warn"/></a> <a target="_blank" href="https://github.com/DIYgod/RSSHub-Radar" v-if="radar"><Badge text="support browser extension" vertical="middle" type="tip"/></a>
</p>
<p class="author">
Author: <a v-for="uid in author.split(' ')" :href="`https://github.com/${uid}`" target="_blank"> @{{ uid }} </a>
</p>
@@ -36,7 +39,23 @@ export default {
paramsDesc: {
type: [Array, String],
default: 'N/A'
}
},
anticrawler: {
type: String,
default: null
},
supportBT: {
type: String,
default: null
},
supportPodcast: {
type: String,
default: null
},
radar: {
type: String,
default: null
},
},
methods: {
renderMarkdown(item) {
@@ -55,4 +74,7 @@ li.params p {
.routeBlock {
margin: 1rem 0 2rem;
}
#app .page .badge.tip {
background-color: #FFB74D;
}
</style>