forked from mpusz/mp-units
docs: another way to hide a page title at API Reference page
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{% extends "main.html" %}
|
||||
|
||||
{% block htmltitle %}
|
||||
{% if page.meta and page.meta.title %}
|
||||
<title>{{ page.meta.title }}</title>
|
||||
{% elif page.title and not page.is_homepage %}
|
||||
<title>{{ page.title | striptags }}</title>
|
||||
{% else %}
|
||||
<title>{{ config.site_name }}</title>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% include "partials/api_ref_content.html" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block extrahead %}
|
||||
<style>.md-content__button {display:none !important}; </style>
|
||||
<style>.md-header__topic {font-weight:700 !important}</style>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user