mirror of
https://github.com/writefreely/writefreely
synced 2024-11-24 17:43:05 +00:00
Fix empty Drafts page for single-user instances
- This removes copy mentioning the Blogs page, which isn't used on single-user instances - This fixes the "Start writing" link, which on a single-user instance would've gone to the blog index, rather than the editor
This commit is contained in:
parent
3129b837f1
commit
a48b746706
1 changed files with 2 additions and 2 deletions
|
@ -34,8 +34,8 @@
|
|||
{{if .Summary}}<p>{{.Summary}}</p>{{end}}
|
||||
</div>{{end}}
|
||||
</div>{{ else }}<div id="no-posts-published"><p>You haven't saved any drafts yet.</p>
|
||||
<p>They'll show up here once you do. Find your blog posts from the <a href="/me/c/">Blogs</a> page.</p>
|
||||
<p class="text-cta"><a href="/">Start writing</a></p></div>{{ end }}
|
||||
<p>They'll show up here once you do. {{if not .SingleUser}}Find your blog posts from the <a href="/me/c/">Blogs</a> page.{{end}}</p>
|
||||
<p class="text-cta"><a href="{{if .SingleUser}}/me/new{{else}}/{{end}}">Start writing</a></p></div>{{ end }}
|
||||
|
||||
<div id="moving"></div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue