From: Andy Cochran Date: Thu, 27 Oct 2016 15:51:39 +0000 (-0400) Subject: add setting var for printing hrefs after link text X-Git-Tag: v6.3-rc1~50^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9304%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git add setting var for printing hrefs after link text --- 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,