boizz / hexo-theme-laughing Goto Github PK
View Code? Open in Web Editor NEWA lightweight hexo theme
License: MIT License
A lightweight hexo theme
License: MIT License
navication应该改为navigation
如果可以的话,希望可以增加B站的社交图标,十分感谢
好像下一次发布过,之前的留言会没有掉
extends ./_partial/layout.pug block content include ./_partial/page_header.pug ul.post-list(style='max-width:'+ theme.content_width +'px') each post in page.posts.data li p.date #{time(post.date, 'LL')} if post.title h4.title a(href=url_for(post.path)) #{post.title} .excerpt !{post.excerpt} else .no-title !{post.content} if post.photos && post.photos.length a(href=url_for(post.path)) img.photo(src=post.photos[0]) ul.meta li i.icon.icon-author | #{config.author} li i.icon.icon-clock | #{parseInt(post.content ? post.content.length/900 : 0)} Minutes li i.icon.icon-category | !{list_categories(post.categories)} include ./_partial/pagination.pug
多说已经不能注册使用,老板是不是赶紧更新个其他的评论系统
没有豆瓣的icon,麻烦添加一下
i think the percent of the content is a little small. how can i change it .
我在配置中author后加了名字,也没有改变作者名字,请问什么原因
有时间的话还麻烦作者加个about,archives页面呀......还有,社交帐号的话可以考虑加个网易云音乐的。还有......可以添加disqus评论呀......
问下标签是怎么弄出来的
希望在每篇文章增加访客人数这个指标,可以看到每篇文章的访客量,谢谢
cd themes
git clone [email protected]:BoizZ/hexo-theme-laughing.git
在centos下遇到了github ssh permission deny的问题,这里可以修改为
希望能添加telegram和coolapk 这两个图标,十分感谢
macs-iMac-2:hexo mac$ pwd
/Users/mac/blog/hexo
macs-iMac-2:hexo mac$ npm install hexo-renderer-pug --save
npm WARN deprecated [email protected]: Please use pug-load for pug-loader@<=1.0.2.
[email protected]
updated 1 package in 4.343s
hexo clean
hexo g
hexo d
博文显示不了。
Is there possible for laughing theme to add AN About page in the generated static html files? Could you gentlely help me out? thks advance.
自行更改了url后还是没办法更改css的加载路径
多说评论系统已经关闭,可以考虑更新评论系统——来必力。
| 属性 | 描述 |
| :--- | :--- |
|title | 文章标题 |
|date | 文章编写的时间,这里可以随意修改|
|categories | 文章分类目录,可以为空|
|tags | 文章标签,可空,多标签请用格式[tag1,tag2,tag3]|
|permalink | 文章在url中如何表示|
|description | 对本页的描述,相当于是一个简介,如果这个定义了,就会在首页中出现这里的内容而不会出现整个文章详细内容。|
如以上部分?
属性 | 描述 |
---|---|
title | 文章标题 |
date | 文章编写的时间,这里可以随意修改 |
categories | 文章分类目录,可以为空 |
tags | 文章标签,可空,多标签请用格式[tag1,tag2,tag3] |
permalink | 文章在url中如何表示 |
description | 对本页的描述,相当于是一个简介,如果这个定义了,就会在首页中出现这里的内容而不会出现整个文章详细内容。 |
Hi I use this theme in my blog.
This theme can not display open_gragh.
Finally I found open_graph of twitter needs description meta data.
I tried fix this issue, but It's just rush job.
- var title = page.title ? page.title + ' - ' + config.title : config.title + (config.subtitle ? (' - ' + config.subtitle) : '')
if path === "index.html"
//- open_graph command not work well in index.html and I add params
| !{open_graph({twitter_id:twitter_id,image:theme.page_background,description:title})}
meta(name="description",content=title)
else
| !{open_graph({twitter_id:twitter_id})}
meta(name="description",content=config.description)
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.