wqyblog_api_go/wqyblog_webui/index.html

78 lines
1.8 KiB
HTML
Raw Normal View History

<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
<link rel="stylesheet" href="./css/style.css">
<link rel="icon" href="/favicon.ico" sizes="any">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="icon.png">
<meta name="theme-color" content="#fafafa">
<style>
.post-list {
display: flex;
flex-direction: column;
}
.post-item {
min-width: 250px;
width: 100%;
max-width: 600px;
margin: 5px auto;
padding: 12px;
border-radius: 5px;
background: #f5f5f5;
}
.post-title {
font-size: 1.25rem;
font-weight: bold;
}
.post-message {
font-size: 0.8rem;
display: flex;
flex-direction: row;
gap: 16px;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<div class="header-title">
WqyBlog 首页
</div>
<div class="header-button-left"></div>
<div class="header-button-right">
<a href="./login.html">登录</a>
</div>
</div>
<div class="main">
<div class="main-content">
<div class="post-list">
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/markdown-it@14.1.0/dist/markdown-it.min.js"></script>
<script>
// 检查 jQuery 是否已经加载
window.jQuery || document.write('<script src="./js/vendor/jquery-3.6.0.min.js"><\/script>');
// 检查 markdown-it 是否已经加载
window.markdownit || document.write('<script src="./js/vendor/markdown-it.min.js"><\/script>');
</script>
<script src="./js/const.js"></script>
<script src="./js/app.js"></script>
</body>
</html>