From: Bastien Wirtz Date: Mon, 13 Jan 2020 06:04:26 +0000 (-0800) Subject: Adding support for custom links target X-Git-Tag: v1.0~13 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=56c69e0d6bd7265afec6cd66a4875ebf6357ea7d;p=github%2Fbastienwirtz%2Fhomer.git Adding support for custom links target --- diff --git a/README.md b/README.md index f149549..fe188b7 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,7 @@ links: - name: "ansible" icon: "fa-github" url: "https://github.com/xxxxx/ansible/" + target: '_blank' # optionnal html a tag target attribute - name: "Wiki" icon: "fa-book" url: "https://wiki.xxxxxx.com/" @@ -55,6 +56,7 @@ services: subtitle: "Continuous integration server" tag: "CI" url: "#" + target: '_blank' # optionnal html a tag target attribute - name: "RabbitMQ Management" logo: "/assets/tools/rabbitmq.png" subtitle: "Manage & monitor RabbitMQ server" diff --git a/app.css b/app.css index 27617de..9b2453a 100644 --- a/app.css +++ b/app.css @@ -139,7 +139,7 @@ body { background-color: #4285f4; } body #bighead .navbar a { color: #ffffff; } - body #bighead .navbar a:hover { + body #bighead .navbar a:hover, body #bighead .navbar a:focus { color: #ffffff; background-color: #5a95f5; } body #main-section { diff --git a/app.js b/app.js index 6c2ba90..0cd75b5 100644 --- a/app.js +++ b/app.js @@ -87,7 +87,7 @@ Vue.component('service', { props: ['item'], template: `