github-style icon indicating copy to clipboard operation
github-style copied to clipboard

本地部署后用顶部栏的搜索,跳转到谷歌去了,我想在我本地或者本站点进行搜索

Open hanshoukai opened this issue 2 years ago • 2 comments

麻烦这个问题要怎么修改呢?多谢多谢

hanshoukai avatar May 29 '22 13:05 hanshoukai

作为纯静态的页面,这个项目本身是无法提供这个功能的,不过你可以看一下网上已有的解决方案

MeiK2333 avatar Jun 02 '22 08:06 MeiK2333

Hi @hanshoukai,

Hope it's not too late.

I've implement local search feature in my fork version: https://github.com/kurt-liao/github-style-plus

Since I'd like this theme so much(thanks @MeiK2333 ) and want more features, so this fork version created.

It's in the very beginning, the documentation is not complete though. You can see the demo first: ezgif com-gif-maker

Feel free to try it on my site: https://blog.kurtstories.com/

The source code is in script.html file, you can take a look for it if you're curious how it implement. Since it's in the beginning that I've mentioned, there's no optimize, no refactor at that code yet. Any suggestion, contributions are welcome.

kurt-liao avatar Sep 01 '22 04:09 kurt-liao