Add version tag on <head>.

This commit is contained in:
Cotes Chung 2020-10-26 02:24:32 +08:00
parent 38b87cfdd7
commit 4f1735aad6
2 changed files with 6 additions and 3 deletions

2
_data/meta.yml Normal file
View file

@ -0,0 +1,2 @@
name: Chirpy
version: v2.5.1

View file

@ -9,6 +9,9 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme" content="{{ site.data.meta.name }} {{ site.data.meta.version }}">
{% seo title=false %}
<title>
{%- unless page.layout == "home" -%}
@ -17,8 +20,6 @@
{{ site.title }}
</title>
{% seo title=false %}
{% include favicons.html %}
<!-- Google Fonts -->
@ -72,4 +73,4 @@
{% include js-selector.html %}
</head>
</head>