diff --git a/src/main/java/run/halo/app/model/properties/CommentProperties.java b/src/main/java/run/halo/app/model/properties/CommentProperties.java index d1fa61405..1d622b4e9 100644 --- a/src/main/java/run/halo/app/model/properties/CommentProperties.java +++ b/src/main/java/run/halo/app/model/properties/CommentProperties.java @@ -23,7 +23,9 @@ public enum CommentProperties implements PropertyEnum { PAGE_SIZE("comment_page_size", Integer.class, "10"), - CONTENT_PLACEHOLDER("comment_content_placeholder", String.class, ""); + CONTENT_PLACEHOLDER("comment_content_placeholder", String.class, ""), + + INTERNAL_PLUGIN_JS("comment_internal_plugin_js", String.class, "//cdn.jsdelivr.net/gh/halo-dev/halo-comment@latest/dist/halo-comment.min.js"); private final String value; diff --git a/src/main/resources/templates/common/macro/global_macro.ftl b/src/main/resources/templates/common/macro/global_macro.ftl index 2ceef146a..f135eb7df 100644 --- a/src/main/resources/templates/common/macro/global_macro.ftl +++ b/src/main/resources/templates/common/macro/global_macro.ftl @@ -61,7 +61,7 @@ <#macro comment post,type> <#if !post.disallowComment!false> - + \ No newline at end of file