Skip to content

Commit

Permalink
.phpdoc/template: Add parent's meta description
Browse files Browse the repository at this point in the history
It's not used for now but in case of
  • Loading branch information
adriendupuis committed Dec 11, 2024
1 parent 37b216f commit cb2062b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/php_api_ref/.phpdoc/template/class.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{% block title %}{{ node.name }} | {{ parent() }}{% endblock %}
{% block meta %}
<meta name="description" content="{{ node.summary }}" />
{{ parent() }}
{% endblock %}

{% block content %}
Expand Down
1 change: 1 addition & 0 deletions tools/php_api_ref/.phpdoc/template/interface.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
{% block title %}{{ node.name }} | {{ parent() }}{% endblock %}
{% block meta %}
<meta name="description" content="{{ node.summary }}" />
{{ parent() }}
{% endblock %}

{% block content %}
Expand Down

0 comments on commit cb2062b

Please sign in to comment.