add prev&next read

This commit is contained in:
3xxx
2024-04-21 00:21:13 +08:00
parent 5bf42deac2
commit 6054b5f8ba
3 changed files with 3 additions and 5 deletions

View File

@@ -9,7 +9,7 @@
<meta name="site" content="https://www.iminho.me" /> <meta name="site" content="https://www.iminho.me" />
<meta name="keywords" content="{{.Model.BlogTitle}}"> <meta name="keywords" content="{{.Model.BlogTitle}}">
<meta name="description" content="{{.Model.BlogTitle}}-{{.Description}}"> <meta name="description" content="{{.Model.BlogTitle}}-{{.Description}}">
<title>{{.Model.BlogTitle}} - Powered by MinDoc2</title> <title>{{.Model.BlogTitle}} - Powered by MinDoc</title>
<!-- Bootstrap --> <!-- Bootstrap -->
<link href="{{cdncss "/static/bootstrap/css/bootstrap.min.css"}}" rel="stylesheet"> <link href="{{cdncss "/static/bootstrap/css/bootstrap.min.css"}}" rel="stylesheet">

View File

@@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{i18n $.Lang "common.my_project"}} - Powered by MinDoc 1</title> <title>{{i18n $.Lang "common.my_project"}} - Powered by MinDoc</title>
<!-- Bootstrap --> <!-- Bootstrap -->
<link href="{{cdncss "/static/bootstrap/css/bootstrap.min.css"}}" rel="stylesheet" type="text/css"> <link href="{{cdncss "/static/bootstrap/css/bootstrap.min.css"}}" rel="stylesheet" type="text/css">

View File

@@ -2,7 +2,7 @@
<html lang="zh-CN"> <html lang="zh-CN">
<head> <head>
<title>{{.Title}} - Powered by MinDoc 3</title> <title>{{.Title}} - Powered by MinDoc</title>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -197,7 +197,6 @@
</div> </div>
</div> </div>
{{if .Model.IsDisplayComment}} {{if .Model.IsDisplayComment}}
<div id="articleComment" class="m-comment{{if .IS_DOCUMENT_INDEX}} not-show-comment{{end}}"> <div id="articleComment" class="m-comment{{if .IS_DOCUMENT_INDEX}} not-show-comment{{end}}">
<!-- 评论列表 --> <!-- 评论列表 -->
@@ -221,7 +220,6 @@
<!-- 翻页 --> <!-- 翻页 -->
<ul id="page"></ul> <ul id="page"></ul>
<!-- 发表评论 --> <!-- 发表评论 -->
<div class="comment-post"> <div class="comment-post">
<form class="form" id="commentForm" action="{{urlfor "CommentController.Create"}}" method="post"> <form class="form" id="commentForm" action="{{urlfor "CommentController.Create"}}" method="post">