Giter Club home page Giter Club logo

Comments (8)

raytaylorlin avatar raytaylorlin commented on August 16, 2024

关于你的建议,我会在下个修订版加入
关于搜索无效的问题,请检查http://localhost:4000/search.xml是否能正常显示,再打开控制台看看在输入关键字时,js有没有报错
关于instagram图标,我在source/_data/link.json中添加如下行可以正常显示,不知道你是如何配置的,也请看看控制台和hexo有没有报错

{
    "social": {
        "instagram": ""
    }
}

image

from hexo-theme-raytaylorism.

zhangnew avatar zhangnew commented on August 16, 2024

谢谢,instagram 图标已经解决。

首页打开的时候控制台有如下报错,您的 Blog 也有这个错误。

content.js:1 
Uncaught TypeError: Promise.defer is not a function
init @ content.js:1
App @ content.js:1
(anonymous function) @ content.js:1

http://localhost:4000/search.xml 可以正常显示,在输入关键字时,js 没有报错,没有任何提示。

这是我的链接 http://github.zhangnew.com/

from hexo-theme-raytaylorism.

raytaylorlin avatar raytaylorlin commented on August 16, 2024

首页打开的时候控制台有如下报错,您的 Blog 也有这个错误。

你的这个报错代码应该是你的某个浏览器插件所致,和主题无关

关于搜索的问题,我查了很久,最后用Firefox访问``得到如下报错信息,可能是原文有某处带有非UTF8符号导致XML解析错误

XML 解析错误:格式不佳
位置:http://github.zhangnew.com/search.xml
行 10274,列 68:<p>2.把wowpc.iso(mac能直接打开ISO)里面文件释放出来修改,然后把修改好的文件全部拖进bootmedia文件夹,只要�修改com.apple.Boot.plist为如下:</p>
-------------------------------------------------------------------^

from hexo-theme-raytaylorism.

zhangnew avatar zhangnew commented on August 16, 2024

非常感谢,Chrome 中显示您的 search.xml 中也有类似错误,但是我下载后在指定位置没找到非UTF8符号。

This page contains the following errors:
error on line 1834 at column 37: Input is not proper UTF-8, indicate encoding !
Bytes: 0xE7 0x94 0xA8 0xE5
Below is a rendering of the page up to the first error.

然后我也下载了 Firefox,显示为文章中的某处标签出错了,因为文章是从 Wordpress 导入的,难免格式错误。

from hexo-theme-raytaylorism.

raytaylorlin avatar raytaylorlin commented on August 16, 2024

这个问题非常奇怪,在Chrome才看得到,其他浏览器不会,但实际上又不影响搜索
既然你的文章是从WP导入的,那很有可能是编码问题,建议你手工转成md再确保保存UTF8编码

from hexo-theme-raytaylorism.

zhangnew avatar zhangnew commented on August 16, 2024

嗯呐,问题解决了,非常感谢!

from hexo-theme-raytaylorism.

raytaylorlin avatar raytaylorlin commented on August 16, 2024

另外你说的搜索框自动聚焦问题在f82ab67添加了,pull下主题即可

from hexo-theme-raytaylorism.

zhangnew avatar zhangnew commented on August 16, 2024

收到,谢谢!

from hexo-theme-raytaylorism.

Related Issues (20)

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.