diff --git a/build.gradle b/build.gradle index 9919a97..acbcd57 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ plugins { id "com.github.node-gradle.node" version "5.0.0" id "io.freefair.lombok" version "8.0.0-rc2" - id "run.halo.plugin.devtools" version "0.1.1" + id "run.halo.plugin.devtools" version "0.4.1" id 'java' } @@ -46,7 +46,7 @@ build { } halo { - version = '2.17.0' + version = '2.20' debug = true; } diff --git a/console/src/extensions/tags/index.ts b/console/src/extensions/tags/index.ts index d952189..a33fed6 100644 --- a/console/src/extensions/tags/index.ts +++ b/console/src/extensions/tags/index.ts @@ -63,7 +63,7 @@ export const TagsExtension = Mark.create({ default: null, renderHTML(attributes) { return { - href: `?tag=${encodeURI(attributes.tagText)}`, + href: `/moments?tag=${encodeURI(attributes.tagText)}`, "data-pjax": "", }; },