Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: remove thispagetitle meta tag and add default #3389

Merged
merged 3 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions doc/changelog.d/3389.documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs: remove ``thispagetitle`` meta tag and add default
15 changes: 0 additions & 15 deletions doc/source/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
{% extends "!layout.html" %}

{% block htmltitle %}

{% if meta is mapping %}
{% if 'thispagetitle' in meta %}
<title>{{ meta.get("thispagetitle") }}</title>
{% else %}
{{ super() }}
{% endif %}
{% else %}
{{ super() }}
{% endif %}

{% endblock %}


{% block footer %}
<footer class="bd-footer" font-size="4px">
<div class="bd-footer__inner bd-page-width">
Expand Down
2 changes: 1 addition & 1 deletion doc/source/index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

:thispagetitle: Welcome to PyMAPDL
.. title:: Welcome to PyMAPDL


.. meta::
Expand Down
1 change: 0 additions & 1 deletion doc/styles/config/vocabularies/ANSYS/accept.txt
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ tablet
thermomechanical
thermomechanically
THIRDPARTY
thispagetitle
Tool-Narayanaswamy
tread
trian
Expand Down
Loading