mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 17:40:55 +08:00
feat: Post edit Easily browse and edit blog source code online
This commit is contained in:
@@ -48,3 +48,6 @@ header#page-header(class=isHomeClass style=bg_img)
|
||||
else
|
||||
#page-site-info
|
||||
h1#site-title=site_title
|
||||
if theme.post_edit.enable
|
||||
a.post-edit-link(href=post_edit(page.source) title="编辑")
|
||||
i.fa.fa-pen-nib
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#post-info
|
||||
h1.post-title= page.title || _p('no_title')
|
||||
|
||||
if theme.post_edit.enable
|
||||
a.post-edit-link(href=post_edit(page.source) title="编辑")
|
||||
i.fa.fa-pen-nib
|
||||
|
||||
#post-meta
|
||||
.meta-firstline
|
||||
if (theme.post_meta.post.date_type)
|
||||
|
||||
Reference in New Issue
Block a user