{"id":18461672,"url":"https://github.com/r12f/hexo-post-series","last_synced_at":"2025-06-11T09:02:20.994Z","repository":{"id":57263609,"uuid":"82432366","full_name":"r12f/hexo-post-series","owner":"r12f","description":"Adding post to a series and display them in your post.","archived":false,"fork":false,"pushed_at":"2022-08-25T07:21:50.000Z","size":11,"stargazers_count":6,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T07:41:34.570Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/r12f.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-19T03:25:06.000Z","updated_at":"2023-06-18T16:16:32.000Z","dependencies_parsed_at":"2022-08-25T02:51:41.844Z","dependency_job_id":null,"html_url":"https://github.com/r12f/hexo-post-series","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r12f%2Fhexo-post-series","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r12f%2Fhexo-post-series/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r12f%2Fhexo-post-series/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r12f%2Fhexo-post-series/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r12f","download_url":"https://codeload.github.com/r12f/hexo-post-series/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247796248,"owners_count":20997536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T08:36:11.133Z","updated_at":"2025-04-08T07:32:03.314Z","avatar_url":"https://github.com/r12f.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hexo-post-series\n\n[![npm version](https://badge.fury.io/js/hexo-post-series.svg)](http://badge.fury.io/js/hexo-post-series)\n\nThis plugin is made for adding your post to a series and display it anywhere you like in your post.\n\n## Installation\n\n``` bash\n$ npm install hexo-post-series --save\n```\n\n## Usage\n\n### Add post to a series\nAdding post to a series is very easy, just put ```series: series-title-you-like``` to the post info section. For example:\n```\n---\ntitle: A test post\ntags:\n  - tag1\n  - tag2\nseries: test-posts\n---\n```\n\n### Show post series in your post\nTo show all the posts in the same series as the current post, just add the following tag into your post anywhere you like.\n```\n{% posts_in_same_series %}\n```\n\n### Series list and styles\nThe post series list is constructed as following. To change its appearance, we can set the css styles in your theme.\n\n```\n\u003cdiv class=\"post-series\"\u003e\n    \u003cdiv class=\"post-series-title\"\u003e{post series list title}\u003c/div\u003e\n    \u003cul class=\"post-series-list\"\u003e\n        \u003cli class=\"post-series-list-item\"\u003e\u003ca href=\"{post_link}\"\u003e{post title}\u003c/a\u003e\u003c/li\u003e\n    \u003c/ul\u003e\n\u003c/div\u003e\n```\n\n### Configurations\nThe configurations we supported now are quite simple.\n* list_title: Specify the title you'd like to show before the list. If list title is empty, we won't generate the post-series-title div.\n* open_in_new_tab: If true, a ```target=\"_blank\"``` will be put into the anchor.\n* reverse_sort: If true, the most recent created post will be put at first, otherwise, the least recent created post.\n\nHere is a sample:\n```\n# Post series\npost_series:\n    list_title: \"Same Series:\"\n    open_in_new_tab: false\n    reverse_sort: false\n```\n\n## License\n\nBSD v3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr12f%2Fhexo-post-series","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr12f%2Fhexo-post-series","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr12f%2Fhexo-post-series/lists"}