BLOG/templates/partials/header.html

25 lines
816 B
HTML
Raw Normal View History

2023-05-02 12:54:49 +08:00
{% import "macros/macros.html" as post_macros %}
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% if current_path == "/" %}
<title>
{{ config.title }}
</title>
{% else %}
<title>
{% if page.title %} {{ page.title }}
{% else %} {{config.title}} {% endif %}
</title>
{% endif %}
<link rel="icon" type="image/ico" href={{ get_url(path="icon/xigua_icon.ico") }} />
<script src={{ get_url(path="js/feather.min.js") }}></script>
<link href={{ get_url(path="css/fonts.css") }} rel="stylesheet" />
<link rel="stylesheet" type="text/css" media="screen" href={{ get_url(path="css/main.css") }} />
</head>