1、增加访问数量
2、主页的样式修改 3、头像自定义实现 4、注册修改为自动跳转到登录页面,登录失败友好提示,不进行跳转页面处理 5、博客增加私密的功能
This commit is contained in:
@@ -25,11 +25,14 @@
|
||||
<div class="col-md-12 blog-main">
|
||||
|
||||
<div class="blog-post">
|
||||
<h2 class="blog-post-title" th:text="${blog.getTitle()}"></h2>
|
||||
<h2 class="blog-post-title">
|
||||
[[${blog.getTitle()}]]
|
||||
<small th:if="@{${session.loginUser} ? ${session.loginUser.getUid()==blog.getAuthorId()} : false}"
|
||||
style="font-size: 15px;" class="badge badge-pill badge-warning" th:text="${blog.getCategoryName()}">
|
||||
</small>
|
||||
</h2>
|
||||
<p class="blog-post-meta">
|
||||
<span th:text="${#dates.format(blog.getGmtUpdate(),'yyyy-MM-dd HH:mm:ss')}"></span>
|
||||
by
|
||||
<!-- <a href="#" th:text="${blog.getAuthorName()}"></a>-->
|
||||
<span>
|
||||
<svg class="bi bi-eye-fill" width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M10.5 8a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0z"/>
|
||||
|
||||
Reference in New Issue
Block a user