remove: 刪除部分多餘的代碼

This commit is contained in:
Jerry committed 2021-01-17 19:17:34 +08:00
1 parent 1a0e279cdb
commit d33dc5551c
6 files changed
+5 -18

No files matched your search

+2 -3
View File
@@ -199,10 +199,9 @@ reward:
# 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:
-3
View File
@@ -48,6 +48,3 @@ 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=_p('post.edit'))
i.fa.fa-pen-nib
+1 -1
View File
@@ -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