From c10108e49edff2a69c189fb5cc089551552c7c1a Mon Sep 17 00:00:00 2001 From: Andy Cochran Date: Thu, 27 Oct 2016 11:51:39 -0400 Subject: [PATCH] add setting var for printing hrefs after link text --- scss/typography/_print.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scss/typography/_print.scss b/scss/typography/_print.scss index 348aad9cf..43cf6fa7c 100644 --- a/scss/typography/_print.scss +++ b/scss/typography/_print.scss @@ -6,6 +6,7 @@ /// @type Boolean /// @group global $print-transparent-backgrounds: true !default; +$print-hrefs: true !default; // scss-lint:disable all @@ -36,7 +37,9 @@ $print-transparent-backgrounds: true !default; // Display the URL of a link after the text a, a:visited { text-decoration: underline;} - a[href]:after { content: ' (' attr(href) ')'; } + @if $print-hrefs { + a[href]:after { content: ' (' attr(href) ')'; } + } // Don't display the URL for images or JavaScript/internal links .ir a:after, -- 2.47.2