添加lang与alt
This commit is contained in:
parent
eccc091c09
commit
bccc2e6a8f
@ -1,5 +1,5 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html data-color-mode="light" data-dark-theme="{{ blogBase['nightTheme'] }}" data-light-theme="{{ blogBase['dayTheme'] }}">
|
<html data-color-mode="light" data-dark-theme="{{ blogBase['nightTheme'] }}" data-light-theme="{{ blogBase['dayTheme'] }}" lang={% if blogBase['i18n']=='CN' %}"zh-CN"{% else -%}"en"{%- endif -%}>
|
||||||
<head>
|
<head>
|
||||||
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
|
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||||
|
|||||||
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
{% block header %}
|
{% block header %}
|
||||||
<h1>
|
<h1>
|
||||||
<img src="{{ blogBase['avatarUrl'] }}" class="avatar circle" id="avatarImg">
|
<img src="{{ blogBase['avatarUrl'] }}" class="avatar circle" id="avatarImg" alt="avatar">
|
||||||
{%- if blogBase['displayTitle']=='eekdai' -%}
|
{%- if blogBase['displayTitle']=='eekdai' -%}
|
||||||
<a class="blogTitle" href="https://meekdai.com">{{ blogBase['displayTitle'] }}</a>
|
<a class="blogTitle" href="https://meekdai.com">{{ blogBase['displayTitle'] }}</a>
|
||||||
{% else -%}
|
{% else -%}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user