mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-04 06:22:00 +08:00
remove: 刪除部分多餘的代碼
This commit is contained in:
1 parent
1a0e279cdb
commit
d33dc5551c
6 files changed
+5
-18
No files matched your search
+2
-3
@@ -199,10 +199,9 @@ reward:
|
|||||||
# Easily browse and edit blog source code online.
|
# Easily browse and edit blog source code online.
|
||||||
post_edit:
|
post_edit:
|
||||||
enable: false
|
enable: false
|
||||||
# Link for view source
|
|
||||||
# url: https://github.com/user-name/repo-name/tree/branch-name/subdirectory-name/
|
|
||||||
# Link for fork & edit
|
|
||||||
# url: https://github.com/user-name/repo-name/edit/branch-name/subdirectory-name/
|
# url: https://github.com/user-name/repo-name/edit/branch-name/subdirectory-name/
|
||||||
|
# For example: https://github.com/jerryc127/butterfly.js.org/edit/main/source/
|
||||||
|
url:
|
||||||
|
|
||||||
# Related Articles
|
# Related Articles
|
||||||
related_post:
|
related_post:
|
||||||
|
|||||||
@@ -48,6 +48,3 @@ header#page-header(class=isHomeClass style=bg_img)
|
|||||||
else
|
else
|
||||||
#page-site-info
|
#page-site-info
|
||||||
h1#site-title=site_title
|
h1#site-title=site_title
|
||||||
if theme.post_edit.enable
|
|
||||||
a.post-edit-link(href=post_edit(page.source) title=_p('post.edit'))
|
|
||||||
i.fa.fa-pen-nib
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
#post-info
|
#post-info
|
||||||
h1.post-title= page.title || _p('no_title')
|
h1.post-title= page.title || _p('no_title')
|
||||||
if theme.post_edit.enable
|
if theme.post_edit.enable
|
||||||
a.post-edit-link(href=post_edit(page.source) title=_p('post.edit'))
|
a.post-edit-link(href=theme.post_edit.url + page.source title=_p('post.edit') target="_blank")
|
||||||
i.fa.fa-pen-nib
|
i.fa.fa-pen-nib
|
||||||
|
|
||||||
#post-meta
|
#post-meta
|
||||||
|
|||||||
Loaded 3 of 6 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user