优化description

This commit is contained in:
Meekdai 2023-12-28 09:31:07 +08:00
parent 14e31c8b3e
commit 2ed0a6cafc
4 changed files with 3 additions and 1 deletions

View File

@ -4,7 +4,6 @@
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="{{ blogBase['subTitle'] }}">
<link href="//cdn.staticfile.org/Primer/21.0.7/primer.css" rel="stylesheet" />
<link rel="icon" href="{{ blogBase['faviconUrl'] }}">
<script>

View File

@ -1,5 +1,6 @@
{% extends 'base.html' %}
{% block head %}
<meta name="description" content="{{ blogBase['subTitle'] }}">
<title>{{ blogBase['title'] }}</title>
{% endblock %}

View File

@ -1,6 +1,7 @@
{% extends 'base.html' %}
{% block head %}
<meta name="description" content="{{ blogBase['postTitle'] }}">
<title>{{ blogBase['postTitle'] }}</title>
{% if blogBase['highlight']==1 %}<link href="//unpkg.com/@wooorm/starry-night@2.1.1/style/both.css" rel="stylesheet" />{% endif %}
{% endblock %}

View File

@ -1,5 +1,6 @@
{% extends 'base.html' %}
{% block head %}
<meta name="description" content="{{ blogBase['title'] }} search page">
<title>{{ blogBase['title'] }} - Tag</title>
{% endblock %}