From f1e5b3ac461bd0f22d47fc8464e201884c15d7df Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Wed, 19 Oct 2022 23:38:29 +0800 Subject: [PATCH] timeline --- scripts/tags/timeline.js | 4 +-- source/css/_layout/tag-plugins/folders.styl | 27 ++++++++++---------- source/css/_layout/tag-plugins/timeline.styl | 17 +++++++++--- source/js/plugins/timeline.js | 8 +++++- 4 files changed, 37 insertions(+), 19 deletions(-) diff --git a/scripts/tags/timeline.js b/scripts/tags/timeline.js index ae5c4cf..5baca2f 100644 --- a/scripts/tags/timeline.js +++ b/scripts/tags/timeline.js @@ -36,12 +36,12 @@ function layoutNodeContent(content) { function postTimeline(args, content) { - args = hexo.args.map(args, ['api']); + args = hexo.args.map(args, ['api', 'user']); var el = ''; if (args.api && args.api.length > 0) { el += '