on master help sign in
Urbit.org: External link styling
f59113fMatilde Park
templates/base.html+7−1
@@ -15,10 +15,16 @@
15 <style type="text/css">
15 <style type="text/css">
16 #mc_embed_signup{clear:left; width:100%;}
16 #mc_embed_signup{clear:left; width:100%;}
17 /* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
17 /* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
18− We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
18+ We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
19+
20+ /* external link css need template processing */
21+ a[href*="//"]:not([href*="{{config.base_url | safe}}"])::after {
22+ content: "↗";
23+ }
19 </style>
24 </style>
20 <link rel="stylesheet" href="/indigo.css">
25 <link rel="stylesheet" href="/indigo.css">
21 <link rel="stylesheet" href="/styles.css">
26 <link rel="stylesheet" href="/styles.css">
27+ <!-- analytics -->
22 <script type="text/javascript">
28 <script type="text/javascript">
23 var _paq = window._paq || [];
29 var _paq = window._paq || [];
24 /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
30 /* tracker methods like "setCustomDimension" should be called before "trackPageView" */