- 所有页面的 common.js 引用移至 layout/footer.html 统一管理 - 避免新增页面遗漏 common.js 导致退出登录、消息轮询等功能失效 - 修复 messages/index.html 中 inline script 在 common.js 之前调用 getCSRFToken 的顺序问题
22 lines
849 B
HTML
22 lines
849 B
HTML
{{template "layout/header.html" .}}
|
|
<body>
|
|
{{template "layout/nav.html" .}}
|
|
<div class="container">
|
|
<div class="error-404">
|
|
<div class="error-404-icon">
|
|
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round">
|
|
<circle cx="12" cy="12" r="10"/><line x1="12" y1="8" x2="12" y2="12"/><line x1="12" y1="16" x2="12.01" y2="16"/>
|
|
</svg>
|
|
</div>
|
|
<h1>页面未找到</h1>
|
|
<p>该帖子可能已被删除、尚未发布,或您输入的地址有误</p>
|
|
<div class="error-404-actions">
|
|
<a href="/" class="btn btn-secondary">返回首页</a>
|
|
<a href="/posts" class="btn btn-primary">浏览帖子</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{template "layout/footer.html" .}}
|
|
</body>
|
|
</html>
|