0.0.5 • Published 6 years ago

hexo-blogroll v0.0.5

Weekly downloads
6
License
ISC
Repository
github
Last release
6 years ago

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
---
{% blogroll 5 %}
0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago