shiyiya / typecho-theme-sagiri Goto Github PK
View Code? Open in Web Editor NEW🍰 As lovely as sagiri
🍰 As lovely as sagiri
Describe the bug
Typecho v1.2.0
无法使用1.3.4版本主题
To Reproduce
Steps to reproduce the behavior:
release
页面下载您选择的风格不存在
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
感谢开发者!
应该说我转到 typecho 就用了这个主题,一直都很喜欢,也一直没换过。
我的博客也一直放在模板里面,由于博客几个月来一直被攻击,所以最后还是选择了 hexo,告别了 sagiri。
也搜了 hexo 的 sagiri,但好像很多年没动过了。
最后还是多谢!
打开后显示:
Argument 1 passed to Utils\AutoP::parse() must be of the type string, null given, called in /usr/local/lighthouse/softwares/typecho/var/Widget/Base/Contents.php on line 938
咋回事啊
我用markdown语法写的一二三级标题,右边的文章目录显示的时候不能分级,请问有什么方法实现目录中标题分级吗?
首先非常感谢博主的创作
使用了sagiri主题之后,发现文章不支持markdown中的#.##,###标题显示,最后都是一级标题,请问怎么解决
一点击右上方的搜索框就会显示
Oh, Oooops!
Something went worong.Please try again
php:错误信息如下
Warning: in_array() expects parameter 2 to be array, null given in \usr\themes\Sagiri\theme-helper.php on line 353
ps:实在抱歉PHP有些生疏,无法自行解决
求告知
主题用着挺好,感觉就差了个top按钮
我自己用插件加了一个,结果图标一点就变成了图片放大了,没有到顶的功能了
能否增加一个呢?
谢谢!
下载最新版本更新后发现几个问题:
1.之前的主题1.07版本我正常使用数字验证码现在提示错误,导致主题相关设置不可见
我是在functions.php最后加如下代码,提示function spam_protection_math(){
该行出错
function themeInit($comment){
if ($comment->is('single')) {
$comment = spam_protection_pre($comment);
}
}
function spam_protection_math(){
$num1=rand(1,20);
$num2=rand(1,20);
echo "<label for=\"math\">请问 <i>$num1 + $num2 = ?</i></label>\n";
echo "<input type=\"text\" name=\"sum\" class=\"text\" value=\"\" size=\"25\" tabindex=\"4\" style=\"width:40px\">\n";
echo "<input type=\"hidden\" name=\"num1\" value=\"$num1\">\n";
echo "<input type=\"hidden\" name=\"num2\" value=\"$num2\">";
}
function spam_protection_pre($commentdata){
$sum=$_POST['sum'];
switch($sum){
case $_POST['num1']+$_POST['num2']:
break;
case null:
throw new Typecho_Widget_Exception(_t('请输入验证码'));
break;
default:
throw new Typecho_Widget_Exception(_t('验证码错误,请重新输入'));
}
return $commentdata;
}
2.删除上面的代码后,可以进入主题设置,设置页面顶部提示如下
Warning: Illegal offset type in isset or empty in /www/wwwroot/test.mxzhi.com/var/Typecho/Widget/Helper/Form/Element/Radio.php on line 73
3.不修改任何设置,访问主页,页面排版没有了,随便选择几个主题设置选项,无任何改变
建议在主页添加自定义个人简介功能
可以单开一个板块允许用Markdown语法介绍自己
点击🔍图标,会直接跳转404页面
请问有什么办法修复,或者直接删除这个🔍图标吗?
1、建议搜索页面支持分类的分级展示
2、建议搜索页面只展示有文章的分类,其他分类不展示
如题,后台设置导航栏了 主页没有显示导航栏
搜索和分类功能是不是还没开发,点进去报错oops
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Is your feature request related to a problem? Please describe.
正序时间排列导致最新评论被埋没
查找最新评论时间较长
不符合操作习惯
Describe the solution you'd like
推荐改为倒序时间排列或者可选倒序时间排列
Describe alternatives you've considered
Additional context
一直发现代码块的首行和其他的行对不齐,不知道问题出在哪。
我在 index.min.css 文件里加了个就好了:
pre code {
display: block;
background: 0 0;
padding: 2px 2px;
}
建议支持一下多级分类的前端展示,目前自带的category页面,无法展示一级以上分类的分类递进关系,而且文章如果归属于第二级分类,文章会在最上面先出现一次,效果有点魔幻。
由于jsfelivr在**大陆被dns污染了,所以请更换成别的加速方案,比如:https://statically.io
header.php 第107行少了单引号,导致warrning。
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
像这样
建议文章阅读页面的右侧目录支持下markdown不同标题的递进展示,目前没有缩进,#、##、###在目录中都一样。
从原来的老版本跳到新版本后,博客所有文章浏览量都归零了(使用Access插件在后台还是能看到),但是随便点击一篇文章后,所有的文章浏览量都会+1。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.