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

主题可以新增自定义 menu 的 feature 吗 #308

Closed
OreChou opened this issue Aug 12, 2021 · 5 comments
Closed

主题可以新增自定义 menu 的 feature 吗 #308

OreChou opened this issue Aug 12, 2021 · 5 comments
Assignees

Comments

@OreChou
Copy link

OreChou commented Aug 12, 2021

No description provided.

@LolipopJ
Copy link
Collaborator

可以具体描述一下 Menu 指哪方面吗。

是说打开侧边栏菜单的按钮,还是顶部导航栏之类的呢?

@OreChou
Copy link
Author

OreChou commented Aug 13, 2021

可以具体描述一下 Menu 指哪方面吗。

是说打开侧边栏菜单的按钮,还是顶部导航栏之类的呢?

主页头像下面的 menu 入口。例如 Friends、About Me,下面可以自定义新的页面入口。

@LolipopJ
Copy link
Collaborator

好主意!

未来 Archer 主题如果适配了更多的独立页面,可以将页面入口添加到这里。

现在,作为可选的配置添加到 _config.yml 里边我想应该不难适配。我将把这个需求放到 TODO 中去,有缘适配。


目前,您可以参考 layout\_partial\base-profile.ejs 中已有的内容,自行添加菜单项:

<div class="about-me">
  <a href="<%- url_for("/about") %>">ABOUT ME</a>
</div>

对 .ejs 文件的修改无需执行 npm run build 操作。

@LolipopJ LolipopJ self-assigned this Aug 13, 2021
@OreChou
Copy link
Author

OreChou commented Aug 13, 2021

好的!多谢你的帮助,祝愿 Archer 越来越好

LolipopJ added a commit that referenced this issue Aug 22, 2021
LolipopJ added a commit that referenced this issue Aug 24, 2021
🛎️ One-click translation by Google. 中文更新内容见 #307 

## Feat

1. Now you can set the avatar on the homepage to be borderless
2. The Hash value of the address bar is automatically modified to the corresponding Toc value as the article page scrolls
3. When the Toc is too long, the Toc directory will [scroll] as the article page scrolls (https://github.com/fi3ework/hexo-theme-archer/projects/1#card-64443923)
4. Add support for floating elements
5. The article with summary content enabled can be configured to display the "read more" button
6. Now you can configure the search function in the Profile bar to check the SEO status of your blog
7. Now the Profile bar can be customized to add more menus or links (#308)

## Change

1. The breakpoint on the mobile terminal is changed from `980px` to `960px`
2. When you click the Toc directory of the article page to jump, the banner is forced to be displayed, and space for the banner is reserved
3. The threshold for scrolling up the article page to display the Banner is changed from `500px` to `200px`
4. Part of the theme configuration of `Other` in `_config.yml` is moved to `Theme`.
5. Remove the Anchor button of the title in the homepage summary

## Fix

1. Fix the [Issue](#306 (comment)) that the Chinese word segmentation of the original link in the article page License does not automatically break.
2. Fix the problem that the page may display abnormally when opening Algolia search under certain pages
3. When the loading is not completed, the sidebar opening animation is no longer displayed incorrectly
4. Fix the problem that the Toc of the article page scrolls with the page to highlight the error
5. Fix the situation where floating elements may be displayed incorrectly on the article page (#309)

## Style

1. Adapt the color of the table in the article in Dark mode
2. Optimize the color configuration of Dark mode
3. Optimize the style of the 404 page
4. Optimize the display of the article page on the mobile terminal
5. Optimize the display of the sidebar on the mobile terminal
6. Optimize the display of the homepage summary and limit the height of the picture
7. Optimize the display effect when switching pages in Dark mode

## Perf

1. Improve browser scrolling performance
2. Optimize page loading performance

## Revert

1. Feature font is no longer used in sidebar article titles
2. Remove the useless Background-holder

## Chore

1. Put the content of the update log in the `CHANGELOG.md file instead of ` README.md`

## Dev

1. Provide `source_version` configuration, one-click to modify the source file version date
2. Add `.editorconfig` file
@LolipopJ
Copy link
Collaborator

New feature added here.

Stark-X pushed a commit to Stark-X/hexo-theme-archer that referenced this issue Apr 1, 2024
Stark-X pushed a commit to Stark-X/hexo-theme-archer that referenced this issue Apr 1, 2024
🛎️ One-click translation by Google. 中文更新内容见 fi3ework#307 

## Feat

1. Now you can set the avatar on the homepage to be borderless
2. The Hash value of the address bar is automatically modified to the corresponding Toc value as the article page scrolls
3. When the Toc is too long, the Toc directory will [scroll] as the article page scrolls (https://github.com/fi3ework/hexo-theme-archer/projects/1#card-64443923)
4. Add support for floating elements
5. The article with summary content enabled can be configured to display the "read more" button
6. Now you can configure the search function in the Profile bar to check the SEO status of your blog
7. Now the Profile bar can be customized to add more menus or links (fi3ework#308)

## Change

1. The breakpoint on the mobile terminal is changed from `980px` to `960px`
2. When you click the Toc directory of the article page to jump, the banner is forced to be displayed, and space for the banner is reserved
3. The threshold for scrolling up the article page to display the Banner is changed from `500px` to `200px`
4. Part of the theme configuration of `Other` in `_config.yml` is moved to `Theme`.
5. Remove the Anchor button of the title in the homepage summary

## Fix

1. Fix the [Issue](fi3ework#306 (comment)) that the Chinese word segmentation of the original link in the article page License does not automatically break.
2. Fix the problem that the page may display abnormally when opening Algolia search under certain pages
3. When the loading is not completed, the sidebar opening animation is no longer displayed incorrectly
4. Fix the problem that the Toc of the article page scrolls with the page to highlight the error
5. Fix the situation where floating elements may be displayed incorrectly on the article page (fi3ework#309)

## Style

1. Adapt the color of the table in the article in Dark mode
2. Optimize the color configuration of Dark mode
3. Optimize the style of the 404 page
4. Optimize the display of the article page on the mobile terminal
5. Optimize the display of the sidebar on the mobile terminal
6. Optimize the display of the homepage summary and limit the height of the picture
7. Optimize the display effect when switching pages in Dark mode

## Perf

1. Improve browser scrolling performance
2. Optimize page loading performance

## Revert

1. Feature font is no longer used in sidebar article titles
2. Remove the useless Background-holder

## Chore

1. Put the content of the update log in the `CHANGELOG.md file instead of ` README.md`

## Dev

1. Provide `source_version` configuration, one-click to modify the source file version date
2. Add `.editorconfig` file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants