Add option to toggle style external links

This commit is contained in:
Jesse Tan 2017-12-05 10:59:15 +01:00
parent 6a3371b9a8
commit f76772c4e6
3 changed files with 6 additions and 1 deletions

View File

@ -35,7 +35,7 @@
margin-bottom: $base-line-height
// Style external links
a.reference.external:after
&.style-external-links a.reference.external:after
font-family: FontAwesome
content: "\f08e"
color: $text-light

View File

@ -159,7 +159,11 @@
{# PAGE CONTENT #}
<div class="wy-nav-content">
{% if (theme_style_external_links == 'True') %}
<div class="rst-content style-external-links">
{% else %}
<div class="rst-content">
{% endif %}
{% include "breadcrumbs.html" %}
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">

View File

@ -14,3 +14,4 @@ includehidden = True
logo_only =
display_version = True
prev_next_buttons_location = bottom
style_external_links = False