mirror of
https://github.com/Hopiu/llm.git
synced 2026-03-16 20:50:25 +00:00
Custom title for docs homepage, closes #105
This commit is contained in:
parent
a6e3730b40
commit
5dcfa6f13d
1 changed files with 10 additions and 0 deletions
10
docs/_templates/base.html
vendored
10
docs/_templates/base.html
vendored
|
|
@ -1,5 +1,15 @@
|
|||
{%- extends "!base.html" %}
|
||||
|
||||
{%- block htmltitle -%}
|
||||
{% if not docstitle %}
|
||||
<title>{{ title|striptags|e }}</title>
|
||||
{% elif pagename == master_doc %}
|
||||
<title>LLM: A CLI utility and Python library for interacting with Large Language Models</title>
|
||||
{% else %}
|
||||
<title>{{ title|striptags|e }} - {{ docstitle|striptags|e }}</title>
|
||||
{% endif %}
|
||||
{%- endblock -%}
|
||||
|
||||
{% block site_meta %}
|
||||
{{ super() }}
|
||||
<script defer data-domain="llm.datasette.io" src="https://plausible.io/js/plausible.js"></script>
|
||||
|
|
|
|||
Loading…
Reference in a new issue