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

Link target can be specified #4042

Closed
wants to merge 1 commit into from
Closed

Conversation

codelabor
Copy link

@codelabor codelabor commented Dec 15, 2022

This is an enhancement or feature.

Summary

Use this when you want to display the contents in a new window when you click the header link.
Setting 'link.target' allows you to specify the target of the anchor tag to display the content as the desired target.
For example, you can set navigation.yml as follows.

main:
  - title: "Posts"
    url: /posts/
  - title: "Categories"
    url: /categories/
  - title: "Tags"
    url: /tags/
  - title: "/somewhere/"
    url: https://somewhere
    target: "_blank" # new window

@bernhardrabe-jeton
Copy link

Maybe use the jekyll-target-blank plugin external pages in a new window.

@Friendly-Banana
Copy link

this feature has also been wished for in #3056

@iBug
Copy link
Collaborator

iBug commented May 5, 2024

Closing this one in favor of #3056.

@iBug iBug closed this May 5, 2024
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

Successfully merging this pull request may close these issues.

4 participants