Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ logo: /asset/guolin.png
rss: /atom.xml
disqus:
google_analytics:
umeng_analytics:

# Social accounts
instagram:
pinterest:
github:
facebook:
twitter:
linkedin:
linkedin:
6 changes: 5 additions & 1 deletion layout/layout.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@
<%- body %>
</main>
<footer id="footer">
<section id="footer-message">&copy; <%= date(new Date(), 'YYYY') %> <%= config.author || config.title %>. All rights reserved. Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>. <a href="https://github.com/guolin/crisp-hexo-theme" target="_blank">crisp</a> theme by <a href="guolin.github.io" target="_blank">Guo Lin</a>.</section>
<section id="footer-message">&copy; <%= date(new Date(), 'YYYY') %> <%= config.author || config.title %>. All rights reserved. Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>. <a href="https://github.com/guolin/crisp-hexo-theme" target="_blank">crisp</a> theme by <a href="guolin.github.io" target="_blank">Guo Lin</a>.
<% if (theme.umeng_analytics) { %>
<script type="text/javascript">document.write(unescape("%3Cspan class='cnzz_stat' id='cnzz_stat_icon_<%- theme.umeng_analytics %>'%3E%3C/span%3E%3Cscript src='https://s4.cnzz.com/z_stat.php%3Fid%3D<%- theme.umeng_analytics %>%26show%3Dpic1' type='text/javascript'%3E%3C/script%3E"));
</script><% } %>
</section>
</footer><% if (theme.google_analytics) { %>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
Expand Down
8 changes: 7 additions & 1 deletion source/styles/crisp.css
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,12 @@ footer a:hover {
color:#444;
text-decoration: none;
}
footer .cnzz_stat {
margin-left: 10px;
}
footer .cnzz_stat img {
height: 14px;
}
/* Large Screens */
@media only screen and (min-width: 1281px) {
html, body {
Expand Down Expand Up @@ -463,4 +469,4 @@ pre .coffeescript .title {
pre .keyword,
pre .javascript .function {
color: #c9c;
}
}