From ceeda03132e38da40f0128f9fe78ed25097b329b Mon Sep 17 00:00:00 2001 From: Dmitriy Derepko Date: Sun, 5 May 2024 16:12:37 +0700 Subject: [PATCH] Add target attribute for navigation link (#3056) --- .gitignore | 3 +++ _includes/masthead.html | 6 +++++- docs/_docs/07-navigation.md | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 5c5a91f8..406061fe 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,9 @@ *~ *.sw[p_] +# IntelliJ IDEA +*.idea + # Sublime Text *.sublime-project *.sublime-workspace diff --git a/_includes/masthead.html b/_includes/masthead.html index 0c66aa65..f919fb77 100644 --- a/_includes/masthead.html +++ b/_includes/masthead.html @@ -14,7 +14,11 @@ diff --git a/docs/_docs/07-navigation.md b/docs/_docs/07-navigation.md index dba97714..feb9fe25 100644 --- a/docs/_docs/07-navigation.md +++ b/docs/_docs/07-navigation.md @@ -30,6 +30,7 @@ main: url: /collection-archive/ - title: "External Link" url: https://google.com + target: _blank ``` Which will give you a responsive masthead similar to this: