funny002 / typecho Goto Github PK
View Code? Open in Web Editor NEW这是一个typecho主题仓库
这是一个typecho主题仓库
原来的会匹配一般链接,增加匹配.jpg或者.png结尾的条件
functions.php(line81)
$is = preg_match('/[a-z]+:[^\s]+/', $text, $val);
改为
$is = preg_match('/(http(s)?)[^\s]+((.jpg)+|(.png)+)/', $text, $val);
原谅我不用pull request
Warning: require(/www/wwwroot/link.hytn.top/usr/themes/default/public/header.php): failed to open stream: No such file or directory in /www/wwwroot/link.hytn.top/var/Widget/Archive.php on line 1333
Fatal error: require(): Failed opening required '/www/wwwroot/link.hytn.top/usr/themes/default/public/header.php' (include_path='.:') in /www/wwwroot/link.hytn.top/var/Widget/Archive.php on line 1333
把need里边那个/去了也没好,麻烦看看
离谱,大佬你这主题上来3个php报错,给我整懵逼了....typecho的need里面开头不用带杠,带杠资源路径会多一个 /
head.php line5
原来的
参考typecho官方主题的header文件,改成如下后可以获取文章的title
<title>archiveTitle(array(
'category' => _t('分类 %s 下的文章'),
'search' => _t('包含关键字 %s 的文章'),
'tag' => _t('标签 %s 下的文章'),
'author' => _t('%s 发布的文章')
), '', ' - '); ?>options->title(); ?></title>
不知道这些bug是你没更新还是还没调通,总之我解决了这些问题才能打开
1.public大小写错了,而且多了个斜杠
2.目录大小写有问题style image等
3.random图片引用在default里面
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.