mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Convert underscores to dashes.
This commit is contained in:
parent
c6fe630542
commit
6bdf3adcc0
@ -6,10 +6,11 @@
|
||||
{%- else %}
|
||||
{%- set titlesuffix = "" %}
|
||||
{%- endif %}
|
||||
{%- set lang_attr = 'en' if language == None else (language | replace('_', '-')) %}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<!--[if IE 8]><html class="no-js lt-ie9" lang="{%if language == None %}en{% else %}{{ language }}{% endif %}" > <![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html class="no-js" lang="{%if language == None %}en{% else %}{{ language }}{% endif %}" > <!--<![endif]-->
|
||||
<!--[if IE 8]><html class="no-js lt-ie9" lang="{{ lang_attr }}" > <![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html class="no-js" lang="{{ lang_attr }}" > <!--<![endif]-->
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
{{ metatags }}
|
||||
|
Loading…
Reference in New Issue
Block a user