Code Monkey home page Code Monkey logo

Comments (22)

zhaoo avatar zhaoo commented on August 21, 2024

可以看看 _config.ynlpreview 配置项下面有没有 enable 项。

from hexo-theme-zhaoo.

ben142857 avatar ben142857 commented on August 21, 2024

{
"name": "colorful", //相册名称
"cover": "https://pic.izhaoo.com/2020050242.jpg", //相册封面
"description": "君未看花时,花与君同寂;君来看花日,花色一时明。", //相册介绍
"photos": [ //图片内容
"https://pic.izhaoo.com/2014031601.jpg",
"https://pic.izhaoo.com/2017071602.jpg",
"https://pic.izhaoo.com/2017071603.jpg",
"https://pic.izhaoo.com/2017072104.jpg"
]
}
这个怎么替换成本地图片呢

from hexo-theme-zhaoo.

zhaoo avatar zhaoo commented on August 21, 2024

直接把 potos 里面的地址改成本地地址就可以了,比如 /images/pic.izhaoo.com/2014031601.jpg

from hexo-theme-zhaoo.

ben142857 avatar ben142857 commented on August 21, 2024

"/images/theme/image001"我用这个地址加载不出来

from hexo-theme-zhaoo.

zhaoo avatar zhaoo commented on August 21, 2024

应该是图片路径不对,你看一下 hexo g 生成后的 public 文件夹里面的图片路径有没有对应上。

from hexo-theme-zhaoo.

ben142857 avatar ben142857 commented on August 21, 2024

解决了但是点击图片以后下面显示大图时会出问题瀑布式的会有两块空白区域

from hexo-theme-zhaoo.

ben142857 avatar ben142857 commented on August 21, 2024

如果要像你博客里的一样还需要别的配置吗

from hexo-theme-zhaoo.

zhaoo avatar zhaoo commented on August 21, 2024

可以截个图看看吗?

from hexo-theme-zhaoo.

ben142857 avatar ben142857 commented on August 21, 2024

image

from hexo-theme-zhaoo.

ben142857 avatar ben142857 commented on August 21, 2024

图片没在原本该在的位置

from hexo-theme-zhaoo.

zhaoo avatar zhaoo commented on August 21, 2024

应该是 fancyboxCDN 炸了,导致加载不出(奇怪的是我这边是好的),详见这篇 issues

#33

from hexo-theme-zhaoo.

ben142857 avatar ben142857 commented on August 21, 2024

fancybox_css: https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.js
是用这个吧

from hexo-theme-zhaoo.

zhaoo avatar zhaoo commented on August 21, 2024

js 和 css 都改一下吧。

from hexo-theme-zhaoo.

ben142857 avatar ben142857 commented on August 21, 2024

解决了,评论点不开和本轮链接怎么设置呢

from hexo-theme-zhaoo.

zhaoo avatar zhaoo commented on August 21, 2024

评论需要配置的,可以选择 valine 或 gitalk 开启,教程见我的博客。

from hexo-theme-zhaoo.

ben142857 avatar ben142857 commented on August 21, 2024

文章统计阅读量那个配置里的serverURLs:配的是哪个url

from hexo-theme-zhaoo.

zhaoo avatar zhaoo commented on August 21, 2024

https://leancloud.cn/

from hexo-theme-zhaoo.

ben142857 avatar ben142857 commented on August 21, 2024

日期的月份怎么设置成中文呢

from hexo-theme-zhaoo.

ben142857 avatar ben142857 commented on August 21, 2024

这样统计的是全站的访问量呀

from hexo-theme-zhaoo.

zhaoo avatar zhaoo commented on August 21, 2024

这个url只是接口,统计单篇文章的。

系统设置语言 zh-CN

from hexo-theme-zhaoo.

ben142857 avatar ben142857 commented on August 21, 2024

我用配置文件里设置这个链接统计的就是全站的刷新一次就加一次文章的怎么回事呢

from hexo-theme-zhaoo.

zhaoo avatar zhaoo commented on August 21, 2024

不应该吧,你看一下我的example吧。

from hexo-theme-zhaoo.

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.