mirror of
https://github.com/writefreely/writefreely
synced 2024-11-10 11:24:13 +00:00
Fix blog post links when chorus
enabled
This ensures the "new post" link under each blog on the user Blogs page goes to /new instead of /. Ref T681
This commit is contained in:
parent
40ffb3a5f9
commit
c7a90d2ace
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
<a class="title" href="/{{.Alias}}/">{{if .Title}}{{.Title}}{{else}}{{.Alias}}{{end}}</a>
|
||||
</h3>
|
||||
<h4>
|
||||
<a class="action new-post" href="/#{{.Alias}}">new post</a>
|
||||
<a class="action new-post" href="{{if $.Chorus}}/new{{else}}/{{end}}#{{.Alias}}">new post</a>
|
||||
<a class="action" href="/me/c/{{.Alias}}">customize</a>
|
||||
<a class="action" href="/me/c/{{.Alias}}/stats">stats</a>
|
||||
</h4>
|
||||
|
|
Loading…
Reference in a new issue