Skip to content

Commit 8046ff0

Browse files
committed
Site updated: 2019-01-29 21:17:33
1 parent af6faaf commit 8046ff0

File tree

14 files changed

+655
-103
lines changed

14 files changed

+655
-103
lines changed

2019/01/26/dorm101/index.html

Lines changed: 66 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
<meta property="og:type" content="article">
8585
<meta property="og:title" content="101宿舍">
8686
<meta property="og:url" content="http://yoursite.com/2019/01/26/dorm101/index.html">
87-
<meta property="og:site_name" content="ChaoxCpc">
87+
<meta property="og:site_name" content="Cpc">
8888
<meta property="og:description" content="101宿舍嗬,好家伙,盘他!">
8989
<meta property="og:locale" content="default">
9090
<meta property="og:updated_time" content="2019-01-26T12:39:05.980Z">
@@ -126,7 +126,7 @@
126126

127127

128128

129-
<title>101宿舍 | ChaoxCpc</title>
129+
<title>101宿舍 | Cpc</title>
130130

131131

132132

@@ -156,7 +156,7 @@
156156
<div class="custom-logo-site-title">
157157
<a href="/" class="brand" rel="start">
158158
<span class="logo-line-before"><i></i></span>
159-
<span class="site-title">ChaoxCpc</span>
159+
<span class="site-title">Cpc</span>
160160
<span class="logo-line-after"><i></i></span>
161161
</a>
162162
</div>
@@ -276,13 +276,13 @@
276276
<link itemprop="mainEntityOfPage" href="http://yoursite.com/2019/01/26/dorm101/">
277277

278278
<span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
279-
<meta itemprop="name" content="ChaoxCpc">
279+
<meta itemprop="name" content="Cpc">
280280
<meta itemprop="description" content="">
281281
<meta itemprop="image" content="/images/avatar.gif">
282282
</span>
283283

284284
<span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
285-
<meta itemprop="name" content="ChaoxCpc">
285+
<meta itemprop="name" content="Cpc">
286286
</span>
287287

288288

@@ -316,6 +316,16 @@ <h1 class="post-title" itemprop="name headline">101宿舍</h1>
316316

317317

318318

319+
<span class="post-comments-count">
320+
<span class="post-meta-divider">|</span>
321+
<span class="post-meta-item-icon">
322+
<i class="fa fa-comment-o"></i>
323+
</span>
324+
<a href="/2019/01/26/dorm101/#comments" itemprop="discussionUrl">
325+
<span class="post-comments-count gitment-comments-count" data-xid="/2019/01/26/dorm101/" itemprop="commentsCount"></span>
326+
</a>
327+
</span>
328+
319329

320330

321331

@@ -413,6 +423,14 @@ <h1 id="101宿舍"><a href="#101宿舍" class="headerlink" title="101宿舍"></a
413423

414424

415425

426+
<div class="comments" id="comments">
427+
428+
<div onclick="showGitment()" id="gitment-display-button">Show comments from Gitment</div>
429+
<div id="gitment-container" style="display:none"></div>
430+
431+
</div>
432+
433+
416434

417435

418436

@@ -449,7 +467,7 @@ <h1 id="101宿舍"><a href="#101宿舍" class="headerlink" title="101宿舍"></a
449467
<div class="site-overview">
450468
<div class="site-author motion-element" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
451469

452-
<p class="site-author-name" itemprop="name">ChaoxCpc</p>
470+
<p class="site-author-name" itemprop="name">Cpc</p>
453471
<p class="site-description motion-element" itemprop="description"></p>
454472
</div>
455473

@@ -539,7 +557,7 @@ <h1 id="101宿舍"><a href="#101宿舍" class="headerlink" title="101宿舍"></a
539557
<span class="with-love">
540558
<i class="fa fa-user"></i>
541559
</span>
542-
<span class="author" itemprop="copyrightHolder">ChaoxCpc</span>
560+
<span class="author" itemprop="copyrightHolder">Cpc</span>
543561

544562

545563
<!-- <div class="powered-by">
@@ -697,6 +715,47 @@ <h1 id="101宿舍"><a href="#101宿舍" class="headerlink" title="101宿舍"></a
697715

698716

699717

718+
<!-- LOCAL: You can save these files to your site and update links -->
719+
720+
721+
<link rel="stylesheet" href="https://aimingoo.github.io/gitmint/style/default.css">
722+
<script src="https://aimingoo.github.io/gitmint/dist/gitmint.browser.js"></script>
723+
724+
<!-- END LOCAL -->
725+
726+
727+
728+
729+
<script type="text/javascript">
730+
function renderGitment(){
731+
var gitment = new Gitmint({
732+
id: window.location.pathname,
733+
owner: 'githubcpc',
734+
repo: 'https://githubcpc.github.io',
735+
736+
lang: "zh-Hans" || navigator.language || navigator.systemLanguage || navigator.userLanguage,
737+
738+
oauth: {
739+
740+
741+
client_secret: 'cf900d544012de03de38ebb4bb40e27ea03952ae',
742+
743+
client_id: 'b692b8a3c2f10547925f'
744+
}});
745+
gitment.render('gitment-container');
746+
}
747+
748+
749+
function showGitment(){
750+
document.getElementById("gitment-display-button").style.display = "none";
751+
document.getElementById("gitment-container").style.display = "block";
752+
renderGitment();
753+
}
754+
755+
</script>
756+
757+
758+
700759

701760

702761

2019/01/26/hello-cpc/index.html

Lines changed: 66 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
<meta property="og:type" content="article">
8484
<meta property="og:title" content="hello,cpc">
8585
<meta property="og:url" content="http://yoursite.com/2019/01/26/hello-cpc/index.html">
86-
<meta property="og:site_name" content="ChaoxCpc">
86+
<meta property="og:site_name" content="Cpc">
8787
<meta property="og:locale" content="default">
8888
<meta property="og:updated_time" content="2019-01-26T12:13:52.285Z">
8989
<meta name="twitter:card" content="summary">
@@ -123,7 +123,7 @@
123123

124124

125125

126-
<title>hello,cpc | ChaoxCpc</title>
126+
<title>hello,cpc | Cpc</title>
127127

128128

129129

@@ -153,7 +153,7 @@
153153
<div class="custom-logo-site-title">
154154
<a href="/" class="brand" rel="start">
155155
<span class="logo-line-before"><i></i></span>
156-
<span class="site-title">ChaoxCpc</span>
156+
<span class="site-title">Cpc</span>
157157
<span class="logo-line-after"><i></i></span>
158158
</a>
159159
</div>
@@ -273,13 +273,13 @@
273273
<link itemprop="mainEntityOfPage" href="http://yoursite.com/2019/01/26/hello-cpc/">
274274

275275
<span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
276-
<meta itemprop="name" content="ChaoxCpc">
276+
<meta itemprop="name" content="Cpc">
277277
<meta itemprop="description" content="">
278278
<meta itemprop="image" content="/images/avatar.gif">
279279
</span>
280280

281281
<span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
282-
<meta itemprop="name" content="ChaoxCpc">
282+
<meta itemprop="name" content="Cpc">
283283
</span>
284284

285285

@@ -313,6 +313,16 @@ <h1 class="post-title" itemprop="name headline">hello,cpc</h1>
313313

314314

315315

316+
<span class="post-comments-count">
317+
<span class="post-meta-divider">|</span>
318+
<span class="post-meta-item-icon">
319+
<i class="fa fa-comment-o"></i>
320+
</span>
321+
<a href="/2019/01/26/hello-cpc/#comments" itemprop="discussionUrl">
322+
<span class="post-comments-count gitment-comments-count" data-xid="/2019/01/26/hello-cpc/" itemprop="commentsCount"></span>
323+
</a>
324+
</span>
325+
316326

317327

318328

@@ -405,6 +415,14 @@ <h1 class="post-title" itemprop="name headline">hello,cpc</h1>
405415

406416

407417

418+
<div class="comments" id="comments">
419+
420+
<div onclick="showGitment()" id="gitment-display-button">Show comments from Gitment</div>
421+
<div id="gitment-container" style="display:none"></div>
422+
423+
</div>
424+
425+
408426

409427

410428

@@ -432,7 +450,7 @@ <h1 class="post-title" itemprop="name headline">hello,cpc</h1>
432450
<div class="site-overview">
433451
<div class="site-author motion-element" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
434452

435-
<p class="site-author-name" itemprop="name">ChaoxCpc</p>
453+
<p class="site-author-name" itemprop="name">Cpc</p>
436454
<p class="site-description motion-element" itemprop="description"></p>
437455
</div>
438456

@@ -506,7 +524,7 @@ <h1 class="post-title" itemprop="name headline">hello,cpc</h1>
506524
<span class="with-love">
507525
<i class="fa fa-user"></i>
508526
</span>
509-
<span class="author" itemprop="copyrightHolder">ChaoxCpc</span>
527+
<span class="author" itemprop="copyrightHolder">Cpc</span>
510528

511529

512530
<!-- <div class="powered-by">
@@ -664,6 +682,47 @@ <h1 class="post-title" itemprop="name headline">hello,cpc</h1>
664682

665683

666684

685+
<!-- LOCAL: You can save these files to your site and update links -->
686+
687+
688+
<link rel="stylesheet" href="https://aimingoo.github.io/gitmint/style/default.css">
689+
<script src="https://aimingoo.github.io/gitmint/dist/gitmint.browser.js"></script>
690+
691+
<!-- END LOCAL -->
692+
693+
694+
695+
696+
<script type="text/javascript">
697+
function renderGitment(){
698+
var gitment = new Gitmint({
699+
id: window.location.pathname,
700+
owner: 'githubcpc',
701+
repo: 'https://githubcpc.github.io',
702+
703+
lang: "zh-Hans" || navigator.language || navigator.systemLanguage || navigator.userLanguage,
704+
705+
oauth: {
706+
707+
708+
client_secret: 'cf900d544012de03de38ebb4bb40e27ea03952ae',
709+
710+
client_id: 'b692b8a3c2f10547925f'
711+
}});
712+
gitment.render('gitment-container');
713+
}
714+
715+
716+
function showGitment(){
717+
document.getElementById("gitment-display-button").style.display = "none";
718+
document.getElementById("gitment-container").style.display = "block";
719+
renderGitment();
720+
}
721+
722+
</script>
723+
724+
725+
667726

668727

669728

0 commit comments

Comments
 (0)