Skip to content

Commit

Permalink
viewport
Browse files Browse the repository at this point in the history
  • Loading branch information
abjarna committed Jul 23, 2024
1 parent 5aaac17 commit 137a41f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions rit/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{% extends "pydata_sphinx_theme/layout.html" %}

{% block extrahead %}
<meta name="viewport" content="width=device-width, initial-scale=1"/>
{%- if last_updated %}
<meta name="docbuild:last-update" content="{{ last_updated | e }}"/>
{%- endif %}
{{ super() | replace('<meta name="viewport" content="width=device-width, initial-scale=1.0" />', '') }}
{%- endblock extrahead %}


{% block htmltitle %}
{% if not embedded and docstitle %}
{# >>>>> "docstitle" skipt út fyrir "project", sem override-ar "html_title" í conf.py #}
Expand Down

0 comments on commit 137a41f

Please sign in to comment.