Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix click site name/logo changes the language #278

Merged
merged 4 commits into from
Nov 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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