Skip to content

Commit 6c0ef0a

Browse files
committed
테마 최적화
1 parent 5538598 commit 6c0ef0a

File tree

101 files changed

+55
-35
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+55
-35
lines changed

_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ kramdown:
5858

5959

6060
# Disqus settings
61-
disqus_username: hux
61+
disqus_username: disqus_Y8epLSFiC3
6262

6363
# Netease settings
6464
netease_comment: false

_includes/intro-header.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,4 @@ <h1>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</h1
107107
</div>
108108
</div>
109109
</header>
110-
{% endif %}
110+
{% endif %}

_layouts/post.html

+31-11
Original file line numberDiff line numberDiff line change
@@ -120,18 +120,38 @@ <h5>
120120

121121
{% if site.disqus_username %}
122122
<!-- disqus 公共JS代码 start (一个网页只需插入一次) -->
123-
<script type="text/javascript">
124-
/* * * CONFIGURATION VARIABLES * * */
125-
var disqus_shortname = "{{site.disqus_username}}";
126-
var disqus_identifier = "{{page.id}}";
127-
var disqus_url = "{{site.url}}{{page.url}}";
128-
129-
(function() {
130-
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
131-
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
132-
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
133-
})();
123+
<!--<script type="text/javascript">-->
124+
<!-- /* * * CONFIGURATION VARIABLES * * */-->
125+
<!-- var disqus_shortname = "{{site.disqus_username}}";-->
126+
<!-- var disqus_identifier = "{{page.id}}";-->
127+
<!-- var disqus_url = "{{site.url}}{{page.url}}";-->
128+
<!---->
129+
<!-- (function() {-->
130+
<!-- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;-->
131+
<!-- dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';-->
132+
<!-- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);-->
133+
<!-- })();-->
134+
<!--</script>-->
135+
<div id="disqus_thread"></div>
136+
<script>
137+
138+
/**
139+
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
140+
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
141+
/*
142+
var disqus_config = function () {
143+
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
144+
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
145+
};
146+
*/
147+
(function() { // DON'T EDIT BELOW THIS LINE
148+
var d = document, s = d.createElement('script');
149+
s.src = 'https://kyungmosung.disqus.com/embed.js';
150+
s.setAttribute('data-timestamp', +new Date());
151+
(d.head || d.body).appendChild(s);
152+
})();
134153
</script>
154+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
135155
<!-- disqus 公共JS代码 end -->
136156
{% endif %}
137157

_posts/2019-09-03-swift-gcd.md

+1

_posts/2019-09-16-unit-test.md

+1

about.html

+19-20
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
layout: page
33
title: "About"
4-
description: "你是我的梦想"
54
header-img: "img/about-bg.jpg"
65
multilingual: true
76
---
@@ -23,25 +22,25 @@
2322

2423
{% if site.disqus_username %}
2524
<!-- disqus 评论框 start -->
26-
<div class="comment">
27-
<div id="disqus_thread" class="disqus-thread">
28-
29-
</div>
30-
</div>
31-
<!-- disqus 评论框 end -->
32-
33-
<!-- disqus 公共JS代码 start (一个网页只需插入一次) -->
34-
<script type="text/javascript">
35-
/* * * CONFIGURATION VARIABLES * * */
36-
var disqus_shortname = "{{site.disqus_username}}";
37-
var disqus_identifier = "{{site.disqus_username}}/{{page.url}}";
38-
var disqus_url = "{{site.url}}{{page.url}}";
39-
40-
(function() {
41-
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
42-
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
43-
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
44-
})();
25+
<div id="disqus_thread"></div>
26+
<script>
27+
28+
/**
29+
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
30+
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
31+
/*
32+
var disqus_config = function () {
33+
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
34+
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
35+
};
36+
*/
37+
(function() { // DON'T EDIT BELOW THIS LINE
38+
var d = document, s = d.createElement('script');
39+
s.src = 'https://kyungmosung.disqus.com/embed.js';
40+
s.setAttribute('data-timestamp', +new Date());
41+
(d.head || d.body).appendChild(s);
42+
})();
4543
</script>
44+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
4645
<!-- disqus 公共JS代码 end -->
4746
{% endif %}

archive.html

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: Archive
33
layout: default
4-
description: keep hungry keep foolish
54
header-img: "img/tag-bg.jpg"
65
---
76

img/about-bg-walle.jpg

-54.5 KB
Binary file not shown.

img/about-bg.jpg

496 KB

img/blog-desktop.jpg

-49.5 KB
Binary file not shown.

img/blog-keynote.jpg

-35.3 KB
Binary file not shown.

img/blog-md-navbar.gif

-783 KB
Binary file not shown.

img/blog-sidebar.jpg

-62.1 KB
Binary file not shown.

img/contact-bg.jpg

-133 KB
Binary file not shown.

img/home-bg-art.jpg

-59 KB
Binary file not shown.

img/home-bg-geek.jpg

-31 KB
Binary file not shown.

img/home-bg-o.jpg

-50.8 KB
Binary file not shown.

img/home-bg.jpg

592 KB

img/icon_wechat.png

-7.31 KB
Binary file not shown.

img/in-post/forcify.jpg

-103 KB
Binary file not shown.

img/in-post/open-source-license.png

-41.2 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

img/in-post/post-c-u-ali-079717.png

-46.9 KB
Binary file not shown.

img/in-post/post-c-u-ali-memo.jpg

-233 KB
Binary file not shown.

img/in-post/post-c-u-ali-team.png

-898 KB
Binary file not shown.
-349 KB
Binary file not shown.
-9.65 KB
Binary file not shown.
-10.3 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
-137 KB
Binary file not shown.
-132 KB
Binary file not shown.
-198 KB
Binary file not shown.
-120 KB
Binary file not shown.
-99.3 KB
Binary file not shown.
-88.6 KB
Binary file not shown.
-91.1 KB
Binary file not shown.

img/in-post/post-f-f-weibo.png

-79.1 KB
Binary file not shown.
-87.3 KB
Binary file not shown.
Binary file not shown.

img/in-post/post-kuaidi-1.jpg

-69.6 KB
Binary file not shown.

img/in-post/post-kuaidi-2.jpg

-59.4 KB
Binary file not shown.

img/in-post/post-metro-panorama.jpg

-83.8 KB
Binary file not shown.

img/in-post/post-metro-real.jpg

-148 KB
Binary file not shown.

img/in-post/post-metro-ui.jpg

-94.1 KB
Binary file not shown.
-38.2 KB
Binary file not shown.
Binary file not shown.
-78.5 KB
Binary file not shown.
-82.1 KB
Binary file not shown.
-88.1 KB
Binary file not shown.
-66.5 KB
Binary file not shown.
Binary file not shown.
-111 KB
Binary file not shown.
-50.8 KB
Binary file not shown.
-138 KB
Binary file not shown.
-86.2 KB
Binary file not shown.

img/in-post/post-wmu/maoyan.jpg

-29.2 KB
Binary file not shown.

img/in-post/post-wmu/question.jpg

-5.39 KB
Binary file not shown.

img/in-post/post-wmu/wepiao.jpg

-80.2 KB
Binary file not shown.

img/post-bg-2015.jpg

-102 KB
Binary file not shown.

img/post-bg-alibaba.jpg

-21.9 KB
Binary file not shown.

img/post-bg-alitrip.jpg

-65.4 KB
Binary file not shown.

img/post-bg-android.jpg

-38.2 KB
Binary file not shown.

img/post-bg-apple-event-2015.jpg

-15.6 KB
Binary file not shown.

img/post-bg-css.jpg

-410 KB
Binary file not shown.

img/post-bg-digital-native.jpg

-56.5 KB
Binary file not shown.

img/post-bg-dreamer.jpg

-59.5 KB
Binary file not shown.

img/post-bg-e2e-ux.jpg

-82.9 KB
Binary file not shown.

img/post-bg-farewell-flash.jpg

-12.3 KB
Binary file not shown.

img/post-bg-halting.jpg

-70.1 KB
Binary file not shown.

img/post-bg-infinity.jpg

-41.4 KB
Binary file not shown.

img/post-bg-ios9-web.jpg

-27.5 KB
Binary file not shown.

img/post-bg-js-module.jpg

-46.3 KB
Binary file not shown.

img/post-bg-js-version.jpg

-13.2 KB
Binary file not shown.

img/post-bg-kuaidi.jpg

-54.9 KB
Binary file not shown.

img/post-bg-miui-ux.jpg

-28.8 KB
Binary file not shown.

img/post-bg-miui6.jpg

-12.7 KB
Binary file not shown.

img/post-bg-nextgen-web-pwa.jpg

-63 KB
Binary file not shown.

img/post-bg-os-metro.jpg

-91.5 KB
Binary file not shown.

img/post-bg-re-vs-ng2.jpg

-65.4 KB
Binary file not shown.

img/post-bg-rwd.jpg

-62.1 KB
Binary file not shown.

img/post-bg-see-u-ali.jpg

-81.9 KB
Binary file not shown.

img/post-bg-universe.jpg

-82.3 KB
Binary file not shown.

img/post-bg-unix-linux.jpg

-68 KB
Binary file not shown.

img/post-bg-web.jpg

-114 KB
Binary file not shown.

img/post-sample-image.jpg

-54.7 KB
Binary file not shown.

img/tag-bg.jpg

973 KB

img/title_markdown.jpg

-38.2 KB
Binary file not shown.

sw.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,4 +265,4 @@ function revalidateContent(cachedResp, fetchedResp) {
265265
}
266266
})
267267
.catch(err => console.log(err))
268-
}
268+
}

0 commit comments

Comments
 (0)