From 26a212cf10be6a7563427d971d59b0d27231b7b3 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Thu, 3 Nov 2022 22:25:08 +0800 Subject: [PATCH] link tag --- scripts/tags/link.js | 4 ++-- source/css/_layout/tag-plugins/link.styl | 6 +++--- source/js/main.js | 2 +- source/js/plugins/linkcard.js | 1 + 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/scripts/tags/link.js b/scripts/tags/link.js index 95498ac..7a508fd 100644 --- a/scripts/tags/link.js +++ b/scripts/tags/link.js @@ -7,7 +7,6 @@ 'use strict'; -var util = require('hexo-util'); const full_url_for = require('hexo-util').full_url_for.bind(hexo); hexo.extend.tag.register('link', function(args) { @@ -15,10 +14,11 @@ hexo.extend.tag.register('link', function(args) { var el = ''; el += '