halo-dev / halo

强大易用的开源建站工具。
https://www.halo.run
GNU General Public License v3.0
32.5k stars 9.46k forks source link

feat: add TemplateFooterProcessor extension point for extending footer tag content in theme #6191

Closed guqing closed 1 week ago

guqing commented 1 week ago

What type of PR is this?

/kind feature /area core /milestone 2.17.x

What this PR does / why we need it:

提供对模板中 halo footer 标签内容的扩展点以支持扩展页脚内容

Which issue(s) this PR fixes:

Fixes #6189

Does this PR introduce a user-facing change?

提供对模板中 halo footer 标签内容的扩展点以支持扩展页脚内容
codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 83.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 57.96%. Comparing base (bc10336) to head (185ba53). Report is 49 commits behind head on main.

Files Patch % Lines
...eme/dialect/TemplateFooterElementTagProcessor.java 83.33% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6191 +/- ## ============================================ + Coverage 54.51% 57.96% +3.45% - Complexity 3523 3751 +228 ============================================ Files 646 649 +3 Lines 21862 21998 +136 Branches 1528 1539 +11 ============================================ + Hits 11917 12751 +834 + Misses 9328 8628 -700 - Partials 617 619 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

f2c-ci-robot[bot] commented 1 week ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JohnNiang

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: - ~~[OWNERS](https://github.com/halo-dev/halo/blob/main/OWNERS)~~ [JohnNiang] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment