halo-dev / theme-earth

Halo 2.0 的默认主题
https://demo.halo.run/?preview-theme=theme-earth
GNU General Public License v3.0
43 stars 58 forks source link

fix the problem that the footer title does not display #72

Closed L-fw closed 1 year ago

L-fw commented 1 year ago

What type of PR is this?

/kind improvement

What this PR does / why we need it:

解决自定义页脚标题设置之后不生效的问题。

image

自定义页脚标题后,

image

Which issue(s) this PR fixes:

Ref #69

Special notes for your reviewer:

做了一个判断,若页脚标题设置了且不为空,则启用自定义的页脚标题,否则显示站点标题。

Does this PR introduce a user-facing change?

none
f2c-ci-robot[bot] commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ruibaby

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/theme-earth/blob/main/OWNERS)~~ [ruibaby] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment