hongweipeng / greengrapes Goto Github PK
View Code? Open in Web Editor NEWtypecho 响应式绿色科技感双栏主题,永远相信有人的审美总会和我一样。
License: Apache License 2.0
typecho 响应式绿色科技感双栏主题,永远相信有人的审美总会和我一样。
License: Apache License 2.0
Typecho版本:1.0 (14.10.10)
GreenGrapes-1.1.1
移动GreenGrapes-1.1.1到usr/themes目录下并重命名
在外观设置中启动插件,返回网站报错:
SQLSTATE[HY000]: General error: 1 no such function: now
exception 'Typecho_Db_Query_Exception' with message 'SQLSTATE[HY000]: General error: 1 no such function: now' in /srv/var/Typecho/Db/Adapter/Pdo.php:105
Stack trace:
#0 /srv/var/Typecho/Db.php(352): Typecho_Db_Adapter_Pdo->query(Object(Typecho_Db_Query), Object(PDO), 1, 'SELECT')
#1 /srv/var/Typecho/Db.php(382): Typecho_Db->query(Object(Typecho_Db_Query), 1)
#2 /srv/usr/themes/green/functions.php(22): Typecho_Db->fetchAll(Object(Typecho_Db_Query))
#3 /srv/usr/themes/green/sidebar.php(30): theme_random_posts()
#4 /srv/var/Widget/Archive.php(1935): require('/srv/usr/themes...')
#5 /srv/usr/themes/green/index.php(58): Widget_Archive->need('sidebar.php')
#6 /srv/var/Widget/Archive.php(2018): require_once('/srv/usr/themes...')
#7 /srv/var/Typecho/Router.php(138): Widget_Archive->render()
#8 /srv/index.php(23): Typecho_Router::dispatch()
#9 {main}
想看看jQuery 源码解读系列文章,可是无法归类显示。
可以看到了。感谢博主干货
大佬,我编程能力比较弱。所以有些东西只能提出建议,想咨询一下你,从哪里修改比较合适,我来尝试改模板。
1.默认首页,显示的文章摘要 内容普遍比较多,能否精简数量,只显示小段,2-3段即可。
2.在导航栏是否能加载一个项,为文章分类-分类1/分类2/分类3...
首页右侧可以添加一个文章分类的导航吗,感觉没分类导航不好找文章。
提示“您选择的风格不存在”
什么原因
我安装了README下面的浏览量和点赞插件,启用后没有点赞按钮(也没有介绍自己如何添加)
您好,关于您的主题有办法在首页将文章收起来只显示一个简介(不是显示文章的全部内容)吗?
能否增加一个比较合适的归档页面,列出每个月更新的文章?
请问下友情链接在哪里添加,直接修改源代码 还是在管理页面直接加
由于是响应式的,所以在手机上查看时,右侧导航栏会隐藏掉,左侧折叠起来有一个菜单,有首页,关于,登录 如何在下边显示一个目录呢?
我看了下您的主题说明,已经默认支持该插件。我安装后浏览次数啥的正常显示,但是文末不显示点赞按钮。然后我又分析了下post.php里的代码,您已经预置了按钮 if (class_exists('TeStat_Plugin') && isset($this->options->plugins['activated']['TeStat'])) {$extra_str = ' 仅点赞 ' . $this->likesNum . ''; }?>
Typecho版本:1.1 (17.10.30) 网站地址:http://blog.wzkaopu.com/
写法好高级,
无论是默认的哆啦A梦和自己上传的头像都无法显示
手机首页点左上角的时候,侧边栏展开时宽度太大了~~在main.css中
@media screen and (max-width:750px){ .m-header-open,.m-container-open,.m-footer-open{left:50% !important;} #m-nav{left:-50%;width:50%;} .post-article .text .tags-list{width:50%} #smilies-box{width: 280px;} }
改成
@media screen and (max-width:750px){ .m-header-open,.m-container-open,.m-footer-open{left:50% !important;} #m-nav{left:-50%;width:33.3333333%;} .post-article .text .tags-list{width:50%} #smilies-box{width: 280px;} }
的时候就好了
Access to Font at 'usr/themes/GreenGrapes/fonts/fontawesome-webfont.ttf?v=4.6.3' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '' is therefore not allowed access.
1.建议评论的样式更醒目一些,现在的样式不醒目
2.列表页面建议显示摘要,而不是全文,避免跳过某些文章
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.