Code Monkey home page Code Monkey logo

halo-theme-sagiri's Issues

安装主题时报错

detail : "缺少 theme.yaml 配置文件或配置文件不符合规范。" instance : "http://127.0.0.1:8090/apis/api.console.halo.run/v1alpha1/themes/install" requestId : "48caa819-150" status : 400 timestamp : "2023-07-19T13:56:10.864395975Z" title : "主题安装失败" type : "about:blank"

增加日志

提个小建议,作者阔以参考下hanshan的日志,集成到sagiri主题来

长文章目录无法显示完全

图片

如图,当文章目录因分级过多而过长时,无法显示完整目录。
或许可以给文章目录加一个滚动轴?(小声

关于500 Internal Server Error

小白一个,主题非常喜欢,但不知道为什么手机端一访问就出现500 Internal Server Error,然后网站就没了,最后只能重新(docker容器)部署halo才弄好,但装上主题又会出现这种问题;

markdown编辑后的展示效果和页面展示效果不一致

image
image
一图是编辑文章页面,蓝色字体,到了展示页面后就变成了浅灰色。这样使我看不清自己文字有超链接。

我试图修改了main.css中3445行的a{color:#FF6A6A}, 保存之后我发现在页面定位到链接时,color还是原来的十六进制代码

优化 footer

目前 footer 显示太过简单
希望增加博客运行时间以及备案信息等

主题头像设置问题

Snipaste_2021-03-09_16-57-36
Snipaste_2021-03-09_17-00-14
你好,非常喜欢您的主题,感谢你的开源贡献,我的博客再设置上图的头像时,“这里通过后台 用户-个人资料-个人说明 来设置”
但是我这里后台设置时是一个文本框,我输出图片链接和markdown 链接都无效!
多谢

菜单图标不正常显示问题

当我使用默认的设置时,菜单显示为:
2
然后我找到了相关的代码:

<a href="${menu.url!}" target="${menu.target!}">
    ${menu.icon!'<i class="menu-item-icon fa fa-fw"></i>'}<br/>
    ${menu.name!}
</a>

这里我不能理解,我将其改为了NexT主题的菜单栏代码,

<a href="${menu.url!}" rel="section">
	<#if (menu.icon!)!=''>
	  <i class="menu-item-icon fa fa-fw fa-${menu.icon!}"></i> <br />
	</#if>
	${menu.name!}
</a>

就可以正常显示了
1

这个图标是由后台设置的, 外观---菜单---更多选项---图标中所填写的就是这里显示的图标
运用NexT主题 的代码的话,我在 外观---菜单---更多选项---图标填写 home 字段存到数据库中,前端会变成 fa-home ,正常显示图标。
3

如果是Sagiri 主题的话,那我在 外观---菜单---更多选项---图标 应该填写什么呢?

hexo generate后出现WARN No layout: index.html

检查了_config.yml文件,主题名字没有写错,但是public目录下的index.html都是空白,是不是缺少某些hexo插件的原因啊?

xxx@xxx:~/code/hexo$ hexo g
INFO  Start processing
INFO  Files loaded in 88 ms
WARN  No layout: 2020/06/01/hello-world/index.html
WARN  No layout: archives/index.html
WARN  No layout: archives/2020/index.html
WARN  No layout: archives/2020/06/index.html
WARN  No layout: index.html
INFO  Generated: index.html
INFO  Generated: archives/index.html
INFO  Generated: font/Candyshop.otf
INFO  Generated: images/DIYgod.jpg
INFO  Generated: images/loading.gif
INFO  Generated: images/scroll.png
INFO  Generated: archives/2020/06/index.html
INFO  Generated: images/searchicon.png
INFO  Generated: images/card.jpg
INFO  Generated: images/header-sagiri.jpg
INFO  Generated: archives/2020/index.html
INFO  Generated: js/animate.js
INFO  Generated: js/backtotop.js
INFO  Generated: js/evanyou.js
INFO  Generated: js/main.js
INFO  Generated: js/normal.js
INFO  Generated: js/pjax.js
INFO  Generated: css/main.css
INFO  Generated: 2020/06/01/hello-world/index.html
INFO  19 files generated in 18 ms
xxx@xxx:~/code/hexo$ hexo s
INFO  Start processing
INFO  Hexo is running at http://localhost:4000 . Press Ctrl+C to stop.
WARN  No layout: index.html
^CINFO  Have a nice day
xxx@xxx:~/code/hexo$ 

feat: 优化图库页面

目前存在问题

当图片数量过多,页面渲染太慢。

目标

实现图片懒加载

使用博客展示

大家使用 Sagiri 的博客可以在这儿评论展示哈,方便用户观看效果哈

建议

首页的背景图最好去掉或者改下,不然在滑动的时候非常辣眼睛

2.0版本

大佬,没打算做2.0版本的吗?

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.