Skip to content

Conversation

LIlGG
Copy link
Member

@LIlGG LIlGG commented Jun 13, 2024

What type of PR is this?

/kind feature

What this PR does / why we need it:

为友链页面适配评论插件。在当前的 links.html 模板下,增加如下 HTML 即可为友链页面增加评论组件。

<div th:if="${haloCommentEnabled}">
    <halo:comment
        group="plugin.halo.run"
        kind="Plugin"
        th:attr="name=${pluginName}"
    />
</div>

提交后将在评论页面展示相关信息并支持跳转至评论页面。

image

How to test it?

测试友链页面添加评论组件。
测试提交评论后,在评论列表是否能够显示友情链接的 subject 信息。

Which issue(s) this PR fixes:

Fixes #63

Does this PR introduce a user-facing change?

为友情链接页面适配评论插件

@f2c-ci-robot f2c-ci-robot bot added kind/feature Categorizes issue or PR as related to a new feature. release-note Denotes a PR that will be considered when it comes time to generate release notes. labels Jun 13, 2024
@f2c-ci-robot f2c-ci-robot bot requested review from guqing and ruibaby June 13, 2024 09:30
Copy link
Member

@guqing guqing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@f2c-ci-robot f2c-ci-robot bot added the lgtm Indicates that a PR is ready to be merged. label Jun 13, 2024
Copy link

f2c-ci-robot bot commented Jun 13, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: guqing

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@f2c-ci-robot f2c-ci-robot bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 13, 2024
@f2c-ci-robot f2c-ci-robot bot merged commit 90ff2c0 into halo-sigs:main Jun 13, 2024
@LIlGG LIlGG deleted the feat/adapt-comment-component branch June 14, 2024 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

插件不支持评论展示
2 participants