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
+9
-22
No files matched your search
+3
-4
@@ -194,15 +194,14 @@ reward:
|
||||
# - img: /img/alipay.jpg
|
||||
# link:
|
||||
# text: alipay
|
||||
|
||||
|
||||
# Post edit
|
||||
# Easily browse and edit blog source code online.
|
||||
post_edit:
|
||||
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/
|
||||
# For example: https://github.com/jerryc127/butterfly.js.org/edit/main/source/
|
||||
url:
|
||||
|
||||
# Related Articles
|
||||
related_post:
|
||||
|
||||
@@ -47,7 +47,4 @@ header#page-header(class=isHomeClass style=bg_img)
|
||||
i.fas.fa-angle-down.scroll-down-effects
|
||||
else
|
||||
#page-site-info
|
||||
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
|
||||
h1#site-title=site_title
|
||||
@@ -1,7 +1,7 @@
|
||||
#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=_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
|
||||
|
||||
#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