Skip to content

Add hitokoto and beian options with some optimizations#51

Open
prnake wants to merge 3 commits into
sumimakito:masterfrom
prnake:master
Open

Add hitokoto and beian options with some optimizations#51
prnake wants to merge 3 commits into
sumimakito:masterfrom
prnake:master

Conversation

@prnake

@prnake prnake commented Jan 17, 2023

Copy link
Copy Markdown
  1. Add optional configurations:
beian: 'ICP备XXX号'
startYear: 2019
hitokoto: 
    enable: true
    api: https://v1.hitokoto.cn/?max_length=15
truncate_len: 160
  1. Optimize article preview content
  2. Optimize updateSidebar, in some case resize window will not update $('#main-container').outerWidth() immediately, trigger $('#main-container') first to update $('#main-container').outerWidth().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant