-
Notifications
You must be signed in to change notification settings - Fork 2k
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 external url #476
Menu external url #476
Conversation
@@ -21,7 +21,11 @@ | |||
{% if itemName == 'default' %} | |||
{% set parentValue = subvalue.split('||')[0] | trim %} | |||
{% else %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is a problem with submenu
can u check this WITH Getting Started
? https://test.saili.science/docs/
menu:
home: / || home
#about: /about/ || user
categories: /categories/ || th
archives: /archives/ || archive
tags: /tags/ || tags
#schedule: /schedule/ || calendar
#sitemap: /sitemap.xml || sitemap
#commonweal: /404/ || heartbeat
#navi: /navi/ || paper-plane-o
#hits: /hits/ || fire
#comments: /comments/ || comment-o
Docs:
default: /docs/ || book
Getting Started:
default: https://github.com/theme-next/hexo-theme-next || flag
Yes, it didn't work on
|
well, i understand. |
😂 I don't know where to add explanatory note, because there's no note about submenu. |
@jiangtj just add here in this PR something like readme. Later it will be on main site. |
@ivan-nginx okay,I updated this PR, Add note in |
@ivan-nginx this PR didn't solve it. |
@ivan-nginx |
This json is generated in deploy. It show deploy repo and branch info |
Ok, i check and confirm it. But i remember what in #463 PR i tested «Google» (external) links and they working fine.
|
@ivan-nginx |
So, the only problem for this PR:
|
Emmm... For main menu, generated link is https:/www.google.com, it lost |
* Add menu ext url support * Add doc * Simplified protocol condotion & Added exturl style in for Pisces/Gemini. * Added `.exturl` condition to span tag.
Hi, may i ask a question ? I'm using the latest version of Next. My site URL is However, because of the domain is not changed, so the If there is way to open |
@ivan-nginx Is there any solutions ? thanks very much. |
Co-authored-by: Renovate Bot <[email protected]>
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Menu didn't support jump to external links
Issue Number(s): N/A
What is the new behavior?
Menu support jump to external links
click google jump to www.google.com
Config in the end of this file
Previews:
How to use?
In NexT
_config.yml
:Note
default
is not supported, due todefault
is used for displaying some submenu info.Does this PR introduce a breaking change?