md-view-go/templates/index.html

101 lines
4.1 KiB
HTML

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<meta http-equiv='content-language' content='zh-cn'>
<meta name='description' content={{.title}}>
<link rel="icon" href="/static/favicon.png">
<title >{{.title}} </title>
<!-- Spectre.css framework -->
<link rel="stylesheet" href="/static/index.css">
<link rel="stylesheet" href="/static/highlight.min.css">
<script src="/static/highlight.min.js"></script>
<!-- theme css & js -->
<meta name="generator" content="Hexo 4.2.0">
<script async defer data-website-id="83e5d5db-9d06-40e3-b780-cbae722fdf8c"
src="http://analyze.lianglianglee.com/umami.js"></script>
</head>
<body>
<div class="book-container">
<div class="book-sidebar">
<div class="book-brand">
<a href="/">
<img src="/static/favicon.png">
<span>技术文章摘抄</span>
</a>
</div>
<div class="book-menu uncollapsible">
<ul class="uncollapsible">
<li><a href="/" class="current-tab">首页</a></li>
<li><a href="../">上一级</a></li>
</ul>
<ul class="uncollapsible">
{{range $i, $v := .list}}
<li>
<a class ="menu-item" id="{{$v.FileName}}" href="{{$v.FilePath}}">{{$v.FileName}}</a>
</li>
{{end}}
<li><a href="/assets/捐赠.md">捐赠</a></li>
</ul>
</div>
</div>
<div class="sidebar-toggle" onclick="sidebar_toggle()" onmouseover="add_inner()" onmouseleave="remove_inner()">
<div class="sidebar-toggle-inner"></div>
</div>
<div class="off-canvas-content">
<div class="columns">
<div class="column col-12 col-lg-12">
<div class="book-navbar">
<!-- For Responsive Layout -->
<header class="navbar">
<section class="navbar-section">
<a onclick="open_sidebar()">
<i class="icon icon-menu"></i>
</a>
</section>
</header>
</div>
<div class="book-content" style="max-width: 960px; margin: 0 auto;
overflow-x: auto;
overflow-y: hidden;">
<div class="book-post">
<div align="center">{{.message}}</div>
<p id="tip" align="center"></p>
<p class="title">{{.title}}</p>
<div>{{ .htmlContext }}</div>
</div>
<div>
<div id="prePage" style="float: left">
</div>
<div id="nextPage" style="float: right">
</div>
</div>
</div>
</div>
</div>
<div class="copyright">
<hr />
<p>© 2019 - 2023 <a href="mailto:lll941107@gmail.com" target="_blank">Liangliang Lee</a>.
Powered by <a href="https://github.com/gin-gonic/gin" target="_blank">gin</a> and <a
href="https://github.com/kaiiiz/hexo-theme-book" target="_blank">hexo-theme-book</a>.</p>
</div>
</div>
<a class="off-canvas-overlay" onclick="hide_canvas()"></a>
</div>
</body>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-NPSEEVD756"></script>
<script src="/static/index.js"></script>
</html>