on master help sign in
External links only on index.html
eccc5b7Matilde Park
templates/base.html+4−6
@@ -17,10 +17,7 @@
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
19
20− /* external link css need template processing */
20+ {% block templatestyles %} {% endblock templatestyles%}
21− a[href*="//"]:not([href*="{{config.base_url | safe}}"])::after {
22− content: "↗";
23− }
24 </style>
21 </style>
25 <link rel="stylesheet" href="/indigo.css">
22 <link rel="stylesheet" href="/indigo.css">
26 <link rel="stylesheet" href="/styles.css">
23 <link rel="stylesheet" href="/styles.css">
@@ -39,8 +36,9 @@
39 })();
36 })();
40 </script>
37 </script>
41 </head>
38 </head>
42− <body>
39+ <body {% block bodyclasses %} {% endblock bodyclasses %}>
40+ {% include "partials/search-overlay.html" %}
43− <!-- content -->
41+ <!-- content -->
44 {% block content %}
42 {% block content %}
45 {% endblock content %}
43 {% endblock content %}
46 <!-- scripts -->
44 <!-- scripts -->
templates/index.html+6
@@ -1,4 +1,10 @@
1{% extends "base.html" %}
1{% extends "base.html" %}
2+<!--External links are differentiated on home page.-->
3+{% block templatestyles %}
4+a[href*="//"]:not([href*="{{config.base_url | safe}}"])::after {
5+ content: "↗";
6+}
7+{% endblock templatestyles %}
2{% block title %} {{ section.title }} {% endblock title %}
8{% block title %} {{ section.title }} {% endblock title %}
3{% block content %}
9{% block content %}
4<nav class="home mt6">
10<nav class="home mt6">