你好,我是立音喵。
喜欢尝试各种新鲜技术。有时候有很多脑洞,但很多时候做着一半就被自己扔进垃圾桶了。想做的东西又会感叹时间不够也做不完。
空余时间喜欢做做视频,或者折腾折腾网络。
有空可以来看看我的博客~ 虽然近几个月没怎么写博客.... 咕...
如果你是因为 Chordata 前来,欢迎联系我~
A hexo helper plugin to help you pin your post on the top of the post list.
License: GNU General Public License v3.0
你好,我是立音喵。
喜欢尝试各种新鲜技术。有时候有很多脑洞,但很多时候做着一半就被自己扔进垃圾桶了。想做的东西又会感叹时间不够也做不完。
空余时间喜欢做做视频,或者折腾折腾网络。
有空可以来看看我的博客~ 虽然近几个月没怎么写博客.... 咕...
如果你是因为 Chordata 前来,欢迎联系我~
如题,安装了插件以后,如果没有文章是top: true
的,在hexo g
时就会报错。
$ hexo g && hexo s
INFO Start processing
INFO Files loaded in 38 s
INFO Deleted: categories/博客/index.html
INFO Deleted: tags/HEXO/index.html
INFO Deleted: tags/NPM/index.html
INFO Deleted: tags/MARKDOWN/index.html
ERROR /mnt/c/Users/lyh/OneDrive/lyh543.github.io/themes/material/layout/index.ejs:13
11| <% if(typeof hasposttop === 'function') { %>
12| <% if(hasposttop(site.posts)) { %>
>> 13| <% getposttop(site.posts).each(function(toppost){ %>
14| <% if(theme.scheme === 'Paradox'){ %>
15| <!-- Paradox Thumbnail -->
16| <%- partial('_partial/Paradox-post_entry', { post: toppost, index: true, pin: true }) %>
Cannot read property 'each' of null
TypeError: /mnt/c/Users/lyh/OneDrive/lyh543.github.io/themes/material/layout/index.ejs:13
11| <% if(typeof hasposttop === 'function') { %>
12| <% if(hasposttop(site.posts)) { %>
>> 13| <% getposttop(site.posts).each(function(toppost){ %>
14| <% if(theme.scheme === 'Paradox'){ %>
15| <!-- Paradox Thumbnail -->
16| <%- partial('_partial/Paradox-post_entry', { post: toppost, index: true, pin: true }) %>
Cannot read property 'each' of null
目前临时解决办法是在不需要该插件的时候就删除该插件。
(当然这个小bug也可以不用修复)
I'm submitting a (check one with "x")
我正在申请 (使用 "x" 选择)
开发者,您好!我在使用Material的过程中使用了该插件~
出现了一个bug,即当在生成模板post.md
中的front-matter
部分设置top:
无论后面填入true
或者false
都会出现[TOP]置顶效果,所以目前方法是,仅对需要的文章添加top: true
字段。
希望增加新的功能——希望在不同的catagory都有特殊的置顶功能。
十分感谢!
Set top: true
will pin posts on the top of the list which it appear. It should top posts global
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.