提交 7eb22eff 编写于 作者: 折影轻梦

优化性能

上级 91d5e3b7
<div class="footer">
<div class="container">
&copy; <%= date(new Date(), 'YYYY') %> <%= config.author || config.title %>
Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>
&amp; <a href="https://github.com/Yet-The-Books/hexo-theme-yet-the-books" target="_blank">Yet The Books</a>
Powered by <a rel="noreferrer" href="http://hexo.io/" target="_blank">Hexo</a>
&amp; <a rel="noreferrer" href="https://github.com/Yet-The-Books/hexo-theme-yet-the-books" target="_blank">Yet The Books</a>
</div>
</div>
\ No newline at end of file
......@@ -27,7 +27,7 @@ if (is_archive()){
<%- css_auto_version('css/style') %>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Noto+Serif+SC"
href="https://fonts.googleapis.com/css?family=Noto+Serif+SC&display=swap"
media="all"
/>
<link
......@@ -35,4 +35,5 @@ if (is_archive()){
href="https://cdn.jsdelivr.net/npm/highlight.js@9.15.8/styles/solarized-light.css"
/>
<%- js_auto_version('js/core') %>
<%- partial('_partial/analytics') %>
\ No newline at end of file
<%- partial('_partial/analytics') %>
<script src="https://cdn.jsdelivr.net/npm/lazysizes@5.3.1/lazysizes.min.js" async></script>
\ No newline at end of file
......@@ -32,7 +32,8 @@
</a>
<% } else { %>
<a class="category-item" href="<%- url_for(category.path) %>">
<div class="cover"><h1><img src="<%= cover %>"></h1></div>
<div class="cover"><img data-sizes="auto"
data-src="<%= cover %>" class="lazyload" alt="<%= category.name %>"></div>
<div class="title"><%= category.name %></div>
</a>
<% } %>
......
<!DOCTYPE html>
<html>
<head lang="zh">
<html lang="<%= config.language %>">
<head>
<%- partial('_partial/head') %>
</head>
......
......@@ -47,6 +47,6 @@
</div>
</div>
<div class="container comment">
<% theme.comment ? partial('_partial/_comment/' + theme.comment) : '' %>
<%- theme.comment ? partial('_partial/_comment/' + theme.comment) : '' %>
</div>
</div>
\ No newline at end of file
source/image/p0452_m.jpg

764.8 KB | W: | H:

source/image/p0452_m.jpg

15.9 KB | W: | H:

source/image/p0452_m.jpg
source/image/p0452_m.jpg
source/image/p0452_m.jpg
source/image/p0452_m.jpg
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册