Skip to content

Commit

Permalink
Add permalink of future post on the edit page
Browse files Browse the repository at this point in the history
  • Loading branch information
yhara committed Dec 1, 2016
1 parent 59ea519 commit 9c8472d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion views/edit.slim
Expand Up @@ -11,7 +11,9 @@
li
a href=(post.path_to_edit)
= "#{post.title} (#{post.author_datetime})"

'
a href=(post.path_to_show)
| (Permalink)

- if params[:submit_by] == "Preview"
.preview
Expand Down

0 comments on commit 9c8472d

Please sign in to comment.