2022-05-05 11:34:46 +08:00
|
|
|
{{ $langCode := replaceRE "-([a-z]+)" (upper (substr .Site.Language -3)) .Site.Language }}
|
2022-05-06 22:42:09 +08:00
|
|
|
{{ $P := .Site.Params }}
|
2022-05-03 18:39:03 +08:00
|
|
|
<!DOCTYPE html>
|
2022-05-05 11:34:46 +08:00
|
|
|
<html lang="{{ $langCode }}">
|
2022-05-06 22:42:09 +08:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width">
|
|
|
|
<meta name="generator" content="Hugo v{{ hugo.Version }}">
|
2022-05-05 11:34:46 +08:00
|
|
|
|
2022-05-06 22:42:09 +08:00
|
|
|
{{ partial "partials/head.html" . }}
|
|
|
|
|
|
|
|
<link rel="canonical" href="{{ .Site.BaseURL }}">
|
|
|
|
<link rel="shortcut icon" type="image/x-icon" href="{{ $P.favicon.icon }}">
|
|
|
|
<link rel="icon" type="image/x-icon" href="{{ $P.favicon.icon }}">
|
|
|
|
<link rel="icon" type="image/png" sizes="16x16" href="{{ $P.favicon.small }}">
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32" href="{{ $P.favicon.medium }}">
|
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="{{ $P.favicon.appleTouchIcon }}">
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="/css/main.css">
|
|
|
|
{{- $style := resources.Get "css/style.css" | resources.ExecuteAsTemplate "css/style.css" . -}}
|
|
|
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
|
|
|
|
|
|
|
|
<title>{{ .Site.Title }}</title>
|
|
|
|
</head>
|
2022-05-04 16:17:20 +08:00
|
|
|
|
|
|
|
<body itemscope itemtype="http://schema.org/WebPage" {{/*class="use-motion"*/}}>
|
|
|
|
<div class="headband"></div>
|
|
|
|
|
|
|
|
<main class="main">
|
|
|
|
<header class="header" itemscope itemtype="http://schema.org/WPHeader">
|
|
|
|
{{ partial "partials/header.html" . }}
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<div class="main-inner index posts-expand">
|
|
|
|
<div class="post-block">
|
|
|
|
{{- block "main" . -}}
|
|
|
|
|
|
|
|
{{- end -}}
|
2022-05-03 18:39:03 +08:00
|
|
|
</div>
|
2022-05-04 16:17:20 +08:00
|
|
|
<nav class="pagination">
|
|
|
|
{{ partial "partials/pages.html" . }}
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
|
|
|
|
<footer class="footer">
|
|
|
|
<div class="footer-inner">
|
|
|
|
{{ partial "partials/footer.html" . }}
|
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
<div class="back-to-top" role="button" aria-label="返回顶部">
|
|
|
|
<i class="fa fa-arrow-up"></i>
|
|
|
|
<span>0%</span>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|