Skip to content

Commit

Permalink
feat:update info
Browse files Browse the repository at this point in the history
  • Loading branch information
Jane committed Nov 8, 2024
1 parent d3f7945 commit fb133f1
Show file tree
Hide file tree
Showing 29 changed files with 86 additions and 746 deletions.
28 changes: 14 additions & 14 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Site settings
title: Your Blog
SEOTitle: 你的博客 | Your Blog
title: Jane Zhou
SEOTitle: 你的博客 | Jane Zhou
header-img: img/home-bg.jpg
email: huxpro@gmail.com
email: jane@gmail.com
description: ""
keyword: ""
url: "https://janenameszhou.github.io/" # your host, for absolute URL
Expand All @@ -12,11 +12,11 @@ baseurl: "" # for example, '/blog' if your blog hosted on 'host/blog'

# SNS settings
RSS: false
weibo_username: huxpro
zhihu_username: huxpro
github_username: huxpro
#twitter_username: huxpro
facebook_username: huxpro
# weibo_username: jane
# zhihu_username: jane
github_username: JaneNamesZhou
#twitter_username: jane
# facebook_username: jane



Expand Down Expand Up @@ -50,7 +50,7 @@ kramdown:
#disqus_username: _your_disqus_short_name_

# Duoshuo settings
duoshuo_username: huxblog
duoshuo_username: janeblog
# Share component is depend on Comment so we can NOT use share only.
duoshuo_share: true # set to false if you want to use Comment without Sharing

Expand All @@ -62,14 +62,14 @@ duoshuo_share: true # set to false if you want to use Commen
ba_track_id: 4cc1f2d8f3067386cc5cdb626a202900
# Google Analytics
ga_track_id: 'UA-49627206-1' # Format: UA-xxxxxx-xx
ga_domain: huangxuan.me
ga_domain: Jane.Zhou



# Sidebar settings
sidebar: true # whether or not using Sidebar.
sidebar-about-description: "写写代码,做做设计,看看产品。世界那么大,多玩玩看看。"
sidebar-avatar: /img/avatar-hux.jpg # use absolute URL, seeing it's used in both `/` and `/about/`
sidebar-about-description: "Just Do It !"
sidebar-avatar: /img/avatar.jpg # use absolute URL, seeing it's used in both `/` and `/about/`



Expand All @@ -82,8 +82,8 @@ featured-condition-size: 1 # A tag will be featured if the size of
# Friends
friends: [
{
title: "Hux Blog",
href: "http://huangxuan.me"
title: "Jane Blog",
href: "https://janenameszhou.github.io/"
},{
title: "Foo",
href: "#"
Expand Down
14 changes: 7 additions & 7 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</li>
{% endif %}

<!-- add Weibo, Zhihu by Hux, add target = "_blank" to <a> by Hux -->
<!-- add Weibo, Zhihu by Jane, add target = "_blank" to <a> by Jane -->
{% if site.zhihu_username %}
<li>
<a target="_blank" href="https://www.zhihu.com/people/{{ site.zhihu_username }}">
Expand Down Expand Up @@ -72,11 +72,11 @@
<p class="copyright text-muted">
Copyright &copy; {{ site.title }} {{ site.time | date: '%Y' }}
<br>
Theme by <a href="http://huangxuan.me">Hux</a> |
Theme by <a href="http://huangxuan.me">Jane</a> |
<iframe
style="margin-left: 2px; margin-bottom:-5px;"
frameborder="0" scrolling="0" width="91px" height="20px"
src="https://ghbtns.com/github-btn.html?user=huxpro&repo=huxpro.github.io&type=star&count=true" >
src="https://ghbtns.com/github-btn.html?user=JaneNamesZhou&repo=JaneNamesZhou.github.io&type=star&count=true" >
</iframe>
</p>
</div>
Expand All @@ -91,7 +91,7 @@
<script src="{{ "/js/bootstrap.min.js " | prepend: site.baseurl }}"></script>

<!-- Custom Theme JavaScript -->
<script src="{{ "/js/hux-blog.min.js " | prepend: site.baseurl }}"></script>
<script src="{{ "/js/blog.min.js " | prepend: site.baseurl }}"></script>


<!-- async load function -->
Expand All @@ -110,7 +110,7 @@
Because of the native support for backtick-style fenced code blocks
right within the Markdown is landed in Github Pages,
From V1.6, There is no need for Highlight.js,
so Huxblog drops it officially.
so Janeblog drops it officially.
- https://github.com/blog/2100-github-pages-now-faster-and-simpler-with-jekyll-3-0
- https://help.github.com/articles/creating-and-highlighting-code-blocks/
Expand Down Expand Up @@ -151,7 +151,7 @@
<!-- Google Analytics -->
{% if site.ga_track_id %}
<script>
// dynamic User by Hux
// dynamic User by Jane
var _gaId = '{{ site.ga_track_id }}';
var _gaDomain = '{{ site.ga_domain }}';

Expand All @@ -170,7 +170,7 @@
<!-- Baidu Tongji -->
{% if site.ba_track_id %}
<script>
// dynamic User by Hux
// dynamic User by Jane
var _baId = '{{ site.ba_track_id }}';

// Originial
Expand Down
6 changes: 3 additions & 3 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@
<link rel="stylesheet" href="{{ "/css/bootstrap.min.css" | prepend: site.baseurl }}">

<!-- Custom CSS -->
<link rel="stylesheet" href="{{ "/css/hux-blog.min.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ "/css/blog.min.css" | prepend: site.baseurl }}">

<!-- Pygments Github CSS -->
<link rel="stylesheet" href="{{ "/css/syntax.css" | prepend: site.baseurl }}">

<!-- Custom Fonts -->
<!-- <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"> -->
<!-- Hux change font-awesome CDN to qiniu -->
<!-- Jane change font-awesome CDN to qiniu -->
<link href="http://cdn.staticfile.org/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">


<!-- Hux Delete, sad but pending in China
<!-- Jane Delete, sad but pending in China
<link href='http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/
css'>
Expand Down
6 changes: 3 additions & 3 deletions _includes/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
</div>

<!-- Collect the nav links, forms, and other content for toggling -->
<!-- Known Issue, found by Hux:
<!-- Known Issue, found by Jane:
<nav>'s height woule be hold on by its content.
so, when navbar scale out, the <nav> will cover tags.
also mask any touch event of tags, unfortunately.
-->
<div id="huxblog_navbar">
<div id="blog_navbar">
<div class="navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li>
Expand All @@ -42,7 +42,7 @@
// in high-perf jank-free CSS3 implementation
var $body = document.body;
var $toggle = document.querySelector('.navbar-toggle');
var $navbar = document.querySelector('#huxblog_navbar');
var $navbar = document.querySelector('#blog_navbar');
var $collapse = document.querySelector('.navbar-collapse');

$toggle.addEventListener('click', handleMagic)
Expand Down
6 changes: 3 additions & 3 deletions _layouts/keynote.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</div>
<h1>{{ page.title }}</h1>
{% comment %}
always create a h2 for keeping the margin , Hux
always create a h2 for keeping the margin , Jane
{% endcomment %}
{% comment %} if page.subtitle {% endcomment %}
<h2 class="subheading">{{ page.subtitle }}</h2>
Expand Down Expand Up @@ -66,7 +66,7 @@ <h2 class="subheading">{{ page.subtitle }}</h2>
style="text-align: right"
data-thread-key="{{page.id}}" data-title="{{page.title}}"
data-images="{{ site.url }}{{site.baseurl}}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}"
data-content="{{ content | strip_html | truncate:80 }} | Hux Blog,@Hux黄玄 的个人博客"
data-content="{{ content | strip_html | truncate:80 }} | Jane Blog,@Jane的个人博客"
data-url="{{site.url}}{{site.baseurl}}{{page.url}}">
<div class="ds-share-inline">
<ul class="ds-share-icons-16">
Expand Down Expand Up @@ -185,7 +185,7 @@ <h5>FRIENDS</h5>
{% if site.duoshuo_username %}
<!-- 多说公共JS代码 start (一个网页只需插入一次) -->
<script type="text/javascript">
// dynamic User by Hux
// dynamic User by Jane
var _user = '{{site.duoshuo_username}}';

// duoshuo comment query.
Expand Down
4 changes: 2 additions & 2 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</div>
<h1>{{ page.title }}</h1>
{% comment %}
always create a h2 for keeping the margin , Hux
always create a h2 for keeping the margin , Jane
{% endcomment %}
{% comment %} if page.subtitle {% endcomment %}
<h2 class="subheading">{{ page.subtitle }}</h2>
Expand Down Expand Up @@ -154,7 +154,7 @@ <h5>FRIENDS</h5>
{% if site.duoshuo_username %}
<!-- 多说公共JS代码 start (一个网页只需插入一次) -->
<script type="text/javascript">
// dynamic User by Hux
// dynamic User by Jane
var _user = '{{site.duoshuo_username}}';

// duoshuo comment query.
Expand Down
12 changes: 6 additions & 6 deletions _posts/2014-01-29-hello-2015.markdown
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
layout: post
title: "Welcome to Hux Blog"
title: "Welcome to Jane Blog"
subtitle: " \"Hello World, Hello Blog\""
date: 2015-01-29 12:00:00
author: "Hux"
author: "Jane"
header-img: "img/post-bg-2015.jpg"
tags:
- 生活
Expand All @@ -14,13 +14,13 @@ tags:

## 前言

Hux 的 Blog 就这么开通了。
Jane 的 Blog 就这么开通了。

[跳过废话,直接看技术实现 ](#build)



2015 年,Hux 总算有个地方可以好好写点东西了。
2015 年,Jane 总算有个地方可以好好写点东西了。


作为一个程序员, Blog 这种轮子要是挂在大众博客程序上就太没意思了。一是觉得大部分 Blog 服务都太丑,二是觉得不能随便定制不好玩。之前因为太懒没有折腾,结果就一直连个写 Blog 的地儿都没有。
Expand All @@ -46,7 +46,7 @@ Hux 的 Blog 就这么开通了。
* Jekyll 的自定制非常容易,基本就是个模版引擎


本来觉得最大的缺点可能是 GitHub 在国内访问起来太慢,所以第二天一起床就到 GitCafe(Chinese GitHub Copy) 迁移了一个[镜像](http://huxpro.gitcafe.io)出来,结果还是巨慢。
本来觉得最大的缺点可能是 GitHub 在国内访问起来太慢,所以第二天一起床就到 GitCafe(Chinese GitHub Copy) 结果还是巨慢。

哥哥可是个前端好嘛! 果断开 Chrome DevTool 查了下网络请求,原来是 **pending 在了 Google Fonts** 上,页面渲染一直被阻塞到请求超时为止,难怪这么慢。
忍痛割爱,只好把 Web Fonts 去了(反正超时看到的也只能是 fallback ),果然一下就正常了,而且 GitHub 和 GitCafe 对比并没有感受到明显的速度差异,虽然 github 的 ping 值明显要高一些,达到了 300ms,于是用 DNSPOD 优化了一下速度。
Expand Down Expand Up @@ -76,4 +76,4 @@ Theme 的 CSS 是基于 Bootstrap 定制的,看得不爽的地方直接在 Les

如果你恰好逛到了这里,希望你也能喜欢这个博客主题。

—— Hux 后记于 2015.10
—— Jane 后记于 2015.10
Loading

0 comments on commit fb133f1

Please sign in to comment.