Skip to content

Commit

Permalink
style: auto format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 22, 2024
1 parent 1caaa4f commit 42a6077
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
22 changes: 11 additions & 11 deletions lib/v2/hicairo/rss.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ module.exports = async (ctx) => {
const description_main = $('channel > description').text();
const items = $('channel > item')
.map((_, item) => {
const $item = $(item);
const link = $item.find('link').text();
const title = $item.find('title').text();
const description = $item.find('description').text();
const pubDate = $item.find('pubDate').text();
return {
link,
pubDate, // no need to normalize because it's from a valid RSS feed
title,
description,
};
const $item = $(item);
const link = $item.find('link').text();
const title = $item.find('title').text();
const description = $item.find('description').text();
const pubDate = $item.find('pubDate').text();
return {
link,
pubDate, // no need to normalize because it's from a valid RSS feed
title,
description,
};
})
.get();

Expand Down
12 changes: 6 additions & 6 deletions website/docs/routes/blog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@

<Route author="gkkeys" path="/hexo/fluid/:url" example="/hexo/fluid/blog.tonyzhao.xyz" paramsDesc={['the blog URL without the protocol (http:// and https://)']} configRequired="1" />

## HiFeng'Blog {#hifeng-blog}

### 博客 {#hifeng-blog-bo-ke}

<Route author="aneasystone" example="/hicairo" path="/hicairo" />

## Ian Spriggss {#ian-spriggss}

### Category {#ian-spriggss-category}
Expand Down Expand Up @@ -473,9 +479,3 @@
### 上周热门 TOP 20 {#zhu-bai-shang-zhou-re-men-top-20}

<Route author="nczitzk" example="/zhubai/top20" path="/zhubai/top20" radar="1" />

## HiFeng'Blog {#Hi-Feng-Blog}

### 博客 {#Hi-Feng-Blog-bo-ke}

<Route author="aneasystone" example="/hicairo" path="/hicairo" />

0 comments on commit 42a6077

Please sign in to comment.