Skip to content

Hexo blogroll plugin to show latest articles of your favorite blogs

Notifications You must be signed in to change notification settings

huiwang/hexo-blogroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexo Blogroll

Comparing to traditional blogroll, this plugin fetches latest articles from blog feed and sorts blogs by the latest update date.

Live Preview

Get started

1. Install plugin

npm install hexo-blogroll --save

2. Create Blogroll Data

Create a blogroll.json file and put it into source/_data

{
    "blogs": [
        {
            "title": "Another blog",
            "feed": "https://another.blog/feed"
        },
        {
            "title": "Yet another blog",
            "feed": "https://yet.another.blog./feed"
        }
    ]
}

3. Create Blogroll Page

Create a hexo page and insert the blogroll tag as follows. 5 means for each blog, only the 5 latest posts are displayed.

---
title: Blogroll
---

Latest artciles of my favorite blogs updated by [hexo-blogroll](https://github.com/huiwang/hexo-blogroll)

{% blogroll 5 %}

About

Hexo blogroll plugin to show latest articles of your favorite blogs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published