docs: format

This commit is contained in:
DIYgod 2020-03-09 01:12:54 +08:00
parent 4dd8f0263b
commit 3c3da25c6f
No known key found for this signature in database
GPG Key ID: EC0B76A252D3EF67
4 changed files with 6 additions and 12 deletions

View File

@ -37,9 +37,7 @@ RSSHub 是一个开源、简单易用、易于扩展的 RSS 生成器,可以
### Sponsors
| [Sayori Studio](https://t.me/SayoriStudio) | Anonymous | [Sion Kazama](https://blog.sion.moe) | [琚致远](https://www.shaoyaoju.org/) | [Rolly RSS Reader](https://www.coolapk.com/apk/239500) | [mokeyjay](https://www.mokeyjay.com/) | [tkaray](https://rayray.moe/) | [NeverBehave](https://never.pet/) | [萌开源联盟](https://www.moeunion.com) |
| :----------------------------------------: | :-------: | :----------------------------------: | :----------------------------------: | :----------------------------------------------------: | :-----------------------------------: | :---------------------------: | :-------------------------------: | :------------------------------------: |
[Sayori Studio](https://t.me/SayoriStudio) . [Sion Kazama](https://blog.sion.moe) . [琚致远](https://www.shaoyaoju.org/) . [Rolly RSS 阅读器](https://www.coolapk.com/apk/239500) . [mokeyjay](https://www.mokeyjay.com/) . [tkaray](https://rayray.moe/) . [NeverBehave](https://never.pet/) . [萌开源联盟](https://www.moeunion.com)
[![](https://opencollective.com/static/images/become_sponsor.svg)](https://docs.rsshub.app/en/support/)

View File

@ -32,9 +32,7 @@ RSSHub 是一个开源、简单易用、易于扩展的 RSS 生成器,可以
### Sponsors
| [Sayori Studio](https://t.me/SayoriStudio) | 匿名 | [Sion Kazama](https://blog.sion.moe) | [琚致远](https://www.shaoyaoju.org/) | [Rolly RSS 阅读器](https://www.coolapk.com/apk/239500) | [mokeyjay](https://www.mokeyjay.com/) | [tkaray](https://rayray.moe/) | [NeverBehave](https://never.pet/) | [萌开源联盟](https://www.moeunion.com) |
| :----------------------------------------: | :--: | :----------------------------------: | :----------------------------------: | :----------------------------------------------------: | :-----------------------------------: | :---------------------------: | :-------------------------------: | :------------------------------------: |
[Sayori Studio](https://t.me/SayoriStudio) . [Sion Kazama](https://blog.sion.moe) . [琚致远](https://www.shaoyaoju.org/) . [Rolly RSS 阅读器](https://www.coolapk.com/apk/239500) . [mokeyjay](https://www.mokeyjay.com/) . [tkaray](https://rayray.moe/) . [NeverBehave](https://never.pet/) . [萌开源联盟](https://www.moeunion.com)
[![](https://opencollective.com/static/images/become_sponsor.svg)](/support/)

View File

@ -30,9 +30,7 @@ RSSHub delivers millions of contents aggregated from all kinds of sources, our v
### Sponsors
| [Sayori Studio](https://t.me/SayoriStudio) | Anonymous | [Sion Kazama](https://blog.sion.moe) | [琚致远](https://www.shaoyaoju.org/) | [Rolly RSS Reader](https://www.coolapk.com/apk/239500) | [mokeyjay](https://www.mokeyjay.com/) | [tkaray](https://rayray.moe/) | [NeverBehave](https://never.pet/) | [萌开源联盟](https://www.moeunion.com) |
| :----------------------------------------: | :-------: | :----------------------------------: | :----------------------------------: | :----------------------------------------------------: | :-----------------------------------: | :---------------------------: | :-------------------------------: | :------------------------------------: |
[Sayori Studio](https://t.me/SayoriStudio) . [Sion Kazama](https://blog.sion.moe) . [琚致远](https://www.shaoyaoju.org/) . [Rolly RSS 阅读器](https://www.coolapk.com/apk/239500) . [mokeyjay](https://www.mokeyjay.com/) . [tkaray](https://rayray.moe/) . [NeverBehave](https://never.pet/) . [萌开源联盟](https://www.moeunion.com)
[![](https://opencollective.com/static/images/become_sponsor.svg)](/en/support/)

View File

@ -14,8 +14,8 @@ module.exports = async (ctx) => {
.next('p')
.find('a');
const normal = $('#sponsors')
.next('table')
.find('th');
.next('p')
.find('a');
ctx.state.data = {
title: 'RSSHub 有新赞助商啦',
@ -37,7 +37,7 @@ module.exports = async (ctx) => {
.map((index, item) => {
item = $(item);
const title = item.text();
const link = item.find('a').attr('href') || 'https://docs.rsshub.app/';
const link = item.attr('href') || 'https://docs.rsshub.app/';
return {
title,
description: `<a href="${link}">${title}</a>`,