Skip to content

Commit

Permalink
Merge pull request #278 from Zavins/fix-click-site-name-changes-language
Browse files Browse the repository at this point in the history
fix: fix click site name/logo changes the language
  • Loading branch information
XPoet authored Nov 27, 2023
2 parents 632a182 + 49256cb commit f50618c
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# Changelog

## [4.0.1](https://github.com/XPoet/hexo-theme-keep/compare/v4.0.0...v4.0.1) (2023-11-22)


### 🐞 Bug Fixes

* **copyright-info:** optimize page disable copyright info ([5a0d631](https://github.com/XPoet/hexo-theme-keep/commit/5a0d63171ba9d7cf79eb11f379fe70c1c26f0338))


### 🎨 Styling

* print theme information at startup ([82cef1d](https://github.com/XPoet/hexo-theme-keep/commit/82cef1dd7b7301b26e6f16e26354256e2aa8b0a4))


### 🛠 Performance Improvements

* optimize a tag anchor jump ([632a182](https://github.com/XPoet/hexo-theme-keep/commit/632a182139711833b98c1ddefe836d9d10d515d2))
* **post:** enhanced `front-matter` settings ([2cd5444](https://github.com/XPoet/hexo-theme-keep/commit/2cd544469a25302e7e1cf723f03dcd53928ea251))


### 💄 Improvement UI

* add 404 page ([5b74110](https://github.com/XPoet/hexo-theme-keep/commit/5b74110dd8f7f668eae680d50d4e45935ea115bc))
* **comment:** optimize waline style ([a03054b](https://github.com/XPoet/hexo-theme-keep/commit/a03054b5370ce61b4bb61c8a21562bf60e1c0093))
* **markdown:** optimize code block style ([255910f](https://github.com/XPoet/hexo-theme-keep/commit/255910ff2939cae7efd11959e1dcd688cfb1df47))

## [4.0.0](https://github.com/XPoet/hexo-theme-keep/compare/v3.8.6...v4.0.0) (2023-11-13)


Expand Down
4 changes: 2 additions & 2 deletions layout/_partial/header.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ const h_menu_nav_object = theme?.menu || { Home: '/', Archives: '/archives' }
<div class="border-box header-content<%- (s_fs_enable === true && is_home() && !page.prev) ? ' has-first-screen' : '' %>">
<div class="left border-box">
<% if (bi_logo) { %>
<a class="logo-image border-box" href="/">
<a class="logo-image border-box" href="<%- url_for(h_menu_nav_object['Home']) %>">
<%- image_tag(bi_logo) %>
</a>
<% } %>
<a class="site-name border-box" href="/">
<a class="site-name border-box" href="<%- url_for(h_menu_nav_object['Home']) %>">
<%= bi_title || config?.title || 'Keep Theme' %>
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hexo-theme-keep",
"version": "4.0.0",
"version": "4.0.1",
"private": false,
"description": "A simple and elegant theme for Hexo.",
"scripts": {
Expand Down

0 comments on commit f50618c

Please sign in to comment.