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

I want to redirect to other website when I click the menu item #2063

Closed
3 tasks done
chenfengkg opened this issue Jan 2, 2018 · 3 comments
Closed
3 tasks done

I want to redirect to other website when I click the menu item #2063

chenfengkg opened this issue Jan 2, 2018 · 3 comments
Labels

Comments

@chenfengkg
Copy link

I agree and want to create new issue


Expected behavior

Actual behavior

Steps to reproduce the behavior

  1. N/A
  2. N/A
  3. N/A
  • Link to demo site with this issue: N/A
  • Link(s) to source code or any usefull link(s): N/A

Hexo Information

hexo: 3.4.2
hexo-cli: 1.0.4
os: Windows_NT 10.0.15063 win32 x64
http_parser: 2.7.0
node: 8.9.1
v8: 6.1.534.47
uv: 1.15.0
zlib: 1.2.11
ares: 1.10.1-DEV
modules: 57
nghttp2: 1.25.0
openssl: 1.0.2m
icu: 59.1
unicode: 9.0
cldr: 31.0.1
tz: 2017b

NexT Information

NexT Version:

[] Latest Master branch.
[x] Latest Release version.
[] Old version - 

NexT Scheme:

[] All schemes
[] Muse
[] Mist
[] Pisces
[x] Gemini

Other Information

I want to redirect to other website when I click a menu item.for example,when I click photography,I want to redirect to www.tuchong.com. how should I do?

@ivan-nginx
Copy link
Collaborator

Please, read #2061 issue.

@chenfengkg
Copy link
Author

I sloved this quesiton. when redirecting to other website ,we need to add http:// or https:// .
detail as followed,configure your theme's _config.yml like this:

menu:
  photography: http://tuchong.com || camera

Then you will be redirected to http://tuchong.com when you click photography item!

@ivan-nginx
Copy link
Collaborator

Cool)

Repository owner locked and limited conversation to collaborators Mar 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants