Coder Social home page Coder Social logo

Comments (3)

code004Accepted avatar code004Accepted commented on May 24, 2024
  1. 请在链接前加上http://https://,例如https://weibo.com,这样链接就会被重定向至weibo.com
  2. 搜索框是自带的,您可以参见这里的demo,点击右上角的放大镜按钮后会弹出搜索框,搜索结果会随框中的输入而动态变化。搜索功能依赖search.xml(一个博客索引,会在hexo g时在本地生成),所以当文章很多或很长的时候,search.xml文件会很大,加载就会很慢

下图是demo中的搜索功能截图。这边连GitHub比较慢,所以search.xml没加载出来:image.png


UPDATE:下图是加载完毕后的状态:
Screenshot 2020-08-04 234053.png

PS:如果您博客的访客主要来自国内,建议您使用Gitee/Coding而不是GitHub部署,否则像上面的search.xml和一些UI的图标都会很慢

from hexo-theme-materialized.

TowerLi avatar TowerLi commented on May 24, 2024

感谢,解决了域名问题,搜索框问题可能真的是太卡了,search.xml加载不出来吧。

from hexo-theme-materialized.

code004Accepted avatar code004Accepted commented on May 24, 2024

感谢,解决了域名问题,搜索框问题可能真的是太卡了,search.xml加载不出来吧。

嗯,如果换到国内线路部署可能会快一些。感谢您提的Issue。

from hexo-theme-materialized.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.