mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Add option to toggle style external links
This commit is contained in:
parent
6a3371b9a8
commit
f76772c4e6
@ -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
|
||||
|
@ -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">
|
||||
|
@ -14,3 +14,4 @@ includehidden = True
|
||||
logo_only =
|
||||
display_version = True
|
||||
prev_next_buttons_location = bottom
|
||||
style_external_links = False
|
||||
|
Loading…
Reference in New Issue
Block a user