修复readme显示文章数量不对的BUG
This commit is contained in:
parent
0a1d0a8b94
commit
a32a663320
2
Gmeek.py
2
Gmeek.py
@ -442,7 +442,7 @@ if os.environ.get('GITHUB_EVENT_NAME')!='schedule':
|
||||
print("====== update readme file ======")
|
||||
workspace_path = os.environ.get('GITHUB_WORKSPACE')
|
||||
readme="# %s :link: %s \r\n" % (blog.blogBase["title"],blog.blogBase["homeUrl"])
|
||||
readme=readme+"### :page_facing_up: [%d](%s/tag.html) \r\n" % (len(blog.blogBase["postListJson"]),blog.blogBase["homeUrl"])
|
||||
readme=readme+"### :page_facing_up: [%d](%s/tag.html) \r\n" % (len(blog.blogBase["postListJson"])-1,blog.blogBase["homeUrl"])
|
||||
readme=readme+"### :speech_balloon: %d \r\n" % commentNumSum
|
||||
readme=readme+"### :hibiscus: %d \r\n" % wordCount
|
||||
readme=readme+"### :alarm_clock: %s \r\n" % datetime.datetime.now(blog.TZ).strftime('%Y-%m-%d %H:%M:%S')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user