mirror of https://github.com/go-sonic/sonic.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
1.5 KiB
Go
62 lines
1.5 KiB
Go
package property
|
|
|
|
import "reflect"
|
|
|
|
var (
|
|
CommentGravatarDefault = Property{
|
|
KeyValue: "comment_gravatar_default",
|
|
DefaultValue: "mm",
|
|
Kind: reflect.String,
|
|
}
|
|
CommentNewNeedCheck = Property{
|
|
KeyValue: "comment_new_need_check",
|
|
DefaultValue: true,
|
|
Kind: reflect.Bool,
|
|
}
|
|
CommentNewNotice = Property{
|
|
KeyValue: "comment_new_notice",
|
|
DefaultValue: true,
|
|
Kind: reflect.Bool,
|
|
}
|
|
CommentReplyNotice = Property{
|
|
KeyValue: "comment_reply_notice",
|
|
DefaultValue: false,
|
|
Kind: reflect.Bool,
|
|
}
|
|
CommentAPIEnabled = Property{
|
|
KeyValue: "comment_api_enabled",
|
|
DefaultValue: true,
|
|
Kind: reflect.Bool,
|
|
}
|
|
CommentPageSize = Property{
|
|
KeyValue: "comment_page_size",
|
|
DefaultValue: 10,
|
|
Kind: reflect.Int,
|
|
}
|
|
CommentContentPlaceholder = Property{
|
|
KeyValue: "comment_content_placeholder",
|
|
DefaultValue: "",
|
|
Kind: reflect.String,
|
|
}
|
|
CommentInternalPluginJs = Property{
|
|
KeyValue: "comment_internal_plugin_js",
|
|
DefaultValue: "//cdn.jsdelivr.net/npm/halo-comment@latest/dist/halo-comment.min.js",
|
|
Kind: reflect.String,
|
|
}
|
|
CommentGravatarSource = Property{
|
|
KeyValue: "gravatar_source",
|
|
DefaultValue: "//gravatar.com/avatar/",
|
|
Kind: reflect.String,
|
|
}
|
|
CommentBanTime = Property{
|
|
KeyValue: "comment_ban_time",
|
|
DefaultValue: 10,
|
|
Kind: reflect.Int,
|
|
}
|
|
CommentRange = Property{
|
|
KeyValue: "comment_range",
|
|
DefaultValue: 30,
|
|
Kind: reflect.Int,
|
|
}
|
|
)
|