redesign: 沉浸式梦境主题 - 星空粒子、水晶效果、滚动动画
All checks were successful
Deploy / deploy (push) Successful in 2s
All checks were successful
Deploy / deploy (push) Successful in 2s
This commit is contained in:
@@ -5,13 +5,27 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{{ if .Title }}{{ .Title }} | {{ end }}{{ .Site.Title }}</title>
|
||||
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }}">
|
||||
{{- partial "head.html" . -}}
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
{{ $style := resources.Get "css/dreamscape.css" | minify }}
|
||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
|
||||
<link rel="alternate" type="application/rss+xml" href='{{ "feed.xml" | relURL }}'>
|
||||
</head>
|
||||
<body class="{{ if .IsHome }}home{{ else }}page{{ end }}">
|
||||
{{- partial "header.html" . -}}
|
||||
<main>
|
||||
{{- block "main" . }}{{- end }}
|
||||
</main>
|
||||
{{- partial "footer.html" . -}}
|
||||
<body>
|
||||
<canvas id="starfield"></canvas>
|
||||
<div id="app">
|
||||
<nav class="nav">
|
||||
<a href="/" class="nav-logo">✦</a>
|
||||
{{ range .Site.Menus.main }}
|
||||
<a href="{{ .URL | relURL }}" class="nav-link">{{ .Name }}</a>
|
||||
{{ end }}
|
||||
</nav>
|
||||
<main>
|
||||
{{- block "main" . }}{{- end }}
|
||||
</main>
|
||||
<footer class="footer">
|
||||
<span>✦ Val's Dreamscape Journal ✦</span>
|
||||
</footer>
|
||||
</div>
|
||||
<script src='{{ "js/dreamscape.js" | relURL }}'></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user