angrypowman / hexo-theme-prontera Goto Github PK
View Code? Open in Web Editor NEWA light theme for Hexo: http://powman.org
License: MIT License
A light theme for Hexo: http://powman.org
License: MIT License
Unhandled rejection TypeError: /Users/chuhenwei/code/blog/themes/prontera/layout/partial/sidebar.jade:14
12| p= __('friend_link')
13| - var friend_links = theme.friend_links;
> 14| each link in friend_links
15| a.link-item(href=link[2] target="_blank")
16| div.link-container
17| .site-name
I wanted to display color bar under now-menu.
But if now-page is not main page, color bar did not displayed.
So I resolved this problem with code below.
(Changing layout/partial/nav.jade)
(From)
- var act = !re.test(value) && "/"+page.current_url === value
(To)
- var act = !re.test(value) && ("/"+String(page.path).substring(0,String(page.path).indexOf("/")) == value)
Is this problem is intended?
In index page, when profile url is short, profile image goes right.
In other words, float: right
does not work.
So I resolved this problem like below.
/*
On source/scss/_partial/sidebar.scss
(Modify the file like below)
*/
....
#about-panel {
display: flex;
position: relative;
border-bottom: 1px solid #eeeeee;
padding-bottom: 10px;
.info {
.title {
font-size: 18px;
}
.url {
color: #666666;
font-size: 16px;
font-weight: 200;
}
.bio {
padding-top: 14px;
font-size: 15px;
font-weight: 200;
color: #777777;
}
}
.avatar {
float: right;
position: absolute;
right: 0;
margin-left: 50px;
border-radius: 100%;
border: 3px solid #F2F5F7;
width: 86px;
height: 86px;
}
}
....
请问怎么样添加每篇文章的访问量统计?可以把访问量显示在每篇文章日期后面
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.