feat: SSR 站点单页 /page/:slug 与 Admin CRUD
EOF Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
<p>
|
||||
{{.SiteName}}
|
||||
{{if .ShowFriendLinksFooter}} · <a href="/links">友情链接</a>{{end}}
|
||||
{{range .FooterPages}} · <a href="/page/{{.Slug}}">{{.Title}}</a>{{end}}
|
||||
</p>
|
||||
</footer>
|
||||
<script src="/ssr-assets/site.js" defer></script>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
<a href="/#search">搜索</a>
|
||||
<a href="/boards">板块</a>
|
||||
{{if .ShowFriendLinksNav}}<a href="/links">友链</a>{{end}}
|
||||
{{range .NavPages}}<a href="/page/{{.Slug}}">{{.Title}}</a>{{end}}
|
||||
{{if .LoggedIn}}
|
||||
<a href="/compose">发帖</a>
|
||||
<a href="/messages">私信{{if gt .UnreadCount 0}} <span class="j13-badge">{{.UnreadCount}}</span>{{end}}</a>
|
||||
|
||||
Reference in New Issue
Block a user