Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hitokoto and beian options with some optimizations #51

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

prnake
Copy link

@prnake prnake commented Jan 17, 2023

  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