Skip to content

theme: update the outdated default page.html#432

Open
ntarocco wants to merge 1 commit intoinveniosoftware:masterfrom
ntarocco:update-base-page
Open

theme: update the outdated default page.html#432
ntarocco wants to merge 1 commit intoinveniosoftware:masterfrom
ntarocco:update-base-page

Conversation

@ntarocco
Copy link
Copy Markdown
Contributor

@ntarocco ntarocco commented Apr 22, 2026

{%- endblock head %}
</head>
<body data-invenio-config='{{ { "isMathJaxEnabled": config.THEME_MATHJAX_CDN, } | tojson }}' ng-csp {% if body_css_classes %} class="{{ body_css_classes|join(' ') }}"{% endif %}{% if g.ln %} lang="{{ g.ln.split('_', 1)[0]|safe }}"{% if rtl_direction %} {{ rtl_direction|safe }}{% endif %}{% endif %} itemscope itemtype="http://schema.org/WebPage" data-spy="scroll" data-target=".scrollspy-target">
{% set is_math_jax_enabled = config.THEME_MATHJAX_CDN is defined and config.THEME_MATHJAX_CDN is not none and config.THEME_MATHJAX_CDN != "" %}
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copied from semantic-ui/page.html

* updates the HTML code of the default page.html, to reflect the changes
  in the one in the semantic-ui folder, which includes MathJax
* partially closes inveniosoftware/invenio-app-rdm#3431
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Subcommunities template inheritance breaks JS inclusion

1 participant