Skip to content

Commit

Permalink
update script
Browse files Browse the repository at this point in the history
  • Loading branch information
zhgchgli0718 committed May 26, 2024
1 parent 19de744 commit 20bdc8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/zhgchgli_optimize_footer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def run()
if line.include? "延伸閱讀" or line.include? "本文同步發表於" or line.include? "Like Z Realm" or line.include? "有任何問題及指教歡迎與我聯絡。" or line.include? "converted from Medium by [ZMediumToMarkdown]"

newLines.append("\r\n\r\n===\r\n\r\n 本文首次發表於 Medium ➡️ [**前往查看**](https://medium.com/p/#{id}){:target=\"_blank\"}\r\n")
if ch_url_exists
newLines.append(ch_text)
if en_url_exists
newLines.append(en_text)
end

break
Expand Down

0 comments on commit 20bdc8f

Please sign in to comment.