diff --git a/about.json b/about.json index 3271ed8..820ca3c 100644 --- a/about.json +++ b/about.json @@ -1,6 +1,6 @@ { "name": "Custom Header Links", - "about_url": "https://meta.discourse.org/t/", + "about_url": "https://meta.discourse.org/t/custom-header-links/90588", "license_url": "https://github.com/hnb-ku/discourse-custom-header-links/blob/master/LICENSE", "component": true } diff --git a/common/common.scss b/common/common.scss index b63afbe..78d7895 100644 --- a/common/common.scss +++ b/common/common.scss @@ -4,7 +4,7 @@ list-style: none; a { padding: 6px 10px; - color: $primary; + color: $header_primary; font-size: $font-up-1; } } diff --git a/common/header.html b/common/header.html index 0cf6cb7..c6091ba 100644 --- a/common/header.html +++ b/common/header.html @@ -18,7 +18,8 @@ customHeaderLinks.split("|").map(i => { { href: linkHref, title: linkTitle, - target: linkTarget + target: linkTarget, + attributes: { "data-auto-route": "true" } }, linkText )