Skip to content

Commit 8463fc8

Browse files
committed
Site updated: 2019-01-29 21:25:43
1 parent 8046ff0 commit 8463fc8

File tree

7 files changed

+21
-56
lines changed

7 files changed

+21
-56
lines changed

2019/01/26/dorm101/index.html

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -425,8 +425,7 @@ <h1 id="101宿舍"><a href="#101宿舍" class="headerlink" title="101宿舍"></a
425425

426426
<div class="comments" id="comments">
427427

428-
<div onclick="showGitment()" id="gitment-display-button">Show comments from Gitment</div>
429-
<div id="gitment-container" style="display:none"></div>
428+
<div id="gitment-container"></div>
430429

431430
</div>
432431

@@ -731,7 +730,7 @@ <h1 id="101宿舍"><a href="#101宿舍" class="headerlink" title="101宿舍"></a
731730
var gitment = new Gitmint({
732731
id: window.location.pathname,
733732
owner: 'githubcpc',
734-
repo: 'https://githubcpc.github.io',
733+
repo: 'githubcpc.github.io',
735734

736735
lang: "zh-Hans" || navigator.language || navigator.systemLanguage || navigator.userLanguage,
737736

@@ -746,11 +745,7 @@ <h1 id="101宿舍"><a href="#101宿舍" class="headerlink" title="101宿舍"></a
746745
}
747746

748747

749-
function showGitment(){
750-
document.getElementById("gitment-display-button").style.display = "none";
751-
document.getElementById("gitment-container").style.display = "block";
752-
renderGitment();
753-
}
748+
renderGitment();
754749

755750
</script>
756751

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

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,7 @@ <h1 class="post-title" itemprop="name headline">hello,cpc</h1>
417417

418418
<div class="comments" id="comments">
419419

420-
<div onclick="showGitment()" id="gitment-display-button">Show comments from Gitment</div>
421-
<div id="gitment-container" style="display:none"></div>
420+
<div id="gitment-container"></div>
422421

423422
</div>
424423

@@ -698,7 +697,7 @@ <h1 class="post-title" itemprop="name headline">hello,cpc</h1>
698697
var gitment = new Gitmint({
699698
id: window.location.pathname,
700699
owner: 'githubcpc',
701-
repo: 'https://githubcpc.github.io',
700+
repo: 'githubcpc.github.io',
702701

703702
lang: "zh-Hans" || navigator.language || navigator.systemLanguage || navigator.userLanguage,
704703

@@ -713,11 +712,7 @@ <h1 class="post-title" itemprop="name headline">hello,cpc</h1>
713712
}
714713

715714

716-
function showGitment(){
717-
document.getElementById("gitment-display-button").style.display = "none";
718-
document.getElementById("gitment-container").style.display = "block";
719-
renderGitment();
720-
}
715+
renderGitment();
721716

722717
</script>
723718

2019/01/26/hyperledger fabric1.4/index.html

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -467,8 +467,7 @@ <h2 id="下载源码"><a href="#下载源码" class="headerlink" title="下载
467467

468468
<div class="comments" id="comments">
469469

470-
<div onclick="showGitment()" id="gitment-display-button">Show comments from Gitment</div>
471-
<div id="gitment-container" style="display:none"></div>
470+
<div id="gitment-container"></div>
472471

473472
</div>
474473

@@ -773,7 +772,7 @@ <h2 id="下载源码"><a href="#下载源码" class="headerlink" title="下载
773772
var gitment = new Gitmint({
774773
id: window.location.pathname,
775774
owner: 'githubcpc',
776-
repo: 'https://githubcpc.github.io',
775+
repo: 'githubcpc.github.io',
777776

778777
lang: "zh-Hans" || navigator.language || navigator.systemLanguage || navigator.userLanguage,
779778

@@ -788,11 +787,7 @@ <h2 id="下载源码"><a href="#下载源码" class="headerlink" title="下载
788787
}
789788

790789

791-
function showGitment(){
792-
document.getElementById("gitment-display-button").style.display = "none";
793-
document.getElementById("gitment-container").style.display = "block";
794-
renderGitment();
795-
}
790+
renderGitment();
796791

797792
</script>
798793

about/index.html

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,7 @@ <h1 class="post-title" itemprop="name headline">about</h1>
300300

301301
<div class="comments" id="comments">
302302

303-
<div onclick="showGitment()" id="gitment-display-button">Show comments from Gitment</div>
304-
<div id="gitment-container" style="display:none"></div>
303+
<div id="gitment-container"></div>
305304

306305
</div>
307306

@@ -581,7 +580,7 @@ <h1 class="post-title" itemprop="name headline">about</h1>
581580
var gitment = new Gitmint({
582581
id: window.location.pathname,
583582
owner: 'githubcpc',
584-
repo: 'https://githubcpc.github.io',
583+
repo: 'githubcpc.github.io',
585584

586585
lang: "zh-Hans" || navigator.language || navigator.systemLanguage || navigator.userLanguage,
587586

@@ -596,11 +595,7 @@ <h1 class="post-title" itemprop="name headline">about</h1>
596595
}
597596

598597

599-
function showGitment(){
600-
document.getElementById("gitment-display-button").style.display = "none";
601-
document.getElementById("gitment-container").style.display = "block";
602-
renderGitment();
603-
}
598+
renderGitment();
604599

605600
</script>
606601

categories/index.html

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,7 @@ <h1 class="post-title" itemprop="name headline">categories</h1>
296296

297297
<div class="comments" id="comments">
298298

299-
<div onclick="showGitment()" id="gitment-display-button">Show comments from Gitment</div>
300-
<div id="gitment-container" style="display:none"></div>
299+
<div id="gitment-container"></div>
301300

302301
</div>
303302

@@ -577,7 +576,7 @@ <h1 class="post-title" itemprop="name headline">categories</h1>
577576
var gitment = new Gitmint({
578577
id: window.location.pathname,
579578
owner: 'githubcpc',
580-
repo: 'https://githubcpc.github.io',
579+
repo: 'githubcpc.github.io',
581580

582581
lang: "zh-Hans" || navigator.language || navigator.systemLanguage || navigator.userLanguage,
583582

@@ -592,11 +591,7 @@ <h1 class="post-title" itemprop="name headline">categories</h1>
592591
}
593592

594593

595-
function showGitment(){
596-
document.getElementById("gitment-display-button").style.display = "none";
597-
document.getElementById("gitment-container").style.display = "block";
598-
renderGitment();
599-
}
594+
renderGitment();
600595

601596
</script>
602597

schedule/index.html

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,7 @@ <h1 class="post-title" itemprop="name headline">schedule</h1>
296296

297297
<div class="comments" id="comments">
298298

299-
<div onclick="showGitment()" id="gitment-display-button">Show comments from Gitment</div>
300-
<div id="gitment-container" style="display:none"></div>
299+
<div id="gitment-container"></div>
301300

302301
</div>
303302

@@ -577,7 +576,7 @@ <h1 class="post-title" itemprop="name headline">schedule</h1>
577576
var gitment = new Gitmint({
578577
id: window.location.pathname,
579578
owner: 'githubcpc',
580-
repo: 'https://githubcpc.github.io',
579+
repo: 'githubcpc.github.io',
581580

582581
lang: "zh-Hans" || navigator.language || navigator.systemLanguage || navigator.userLanguage,
583582

@@ -592,11 +591,7 @@ <h1 class="post-title" itemprop="name headline">schedule</h1>
592591
}
593592

594593

595-
function showGitment(){
596-
document.getElementById("gitment-display-button").style.display = "none";
597-
document.getElementById("gitment-container").style.display = "block";
598-
renderGitment();
599-
}
594+
renderGitment();
600595

601596
</script>
602597

tags/index.html

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,7 @@ <h1 class="post-title" itemprop="name headline">tags</h1>
303303

304304
<div class="comments" id="comments">
305305

306-
<div onclick="showGitment()" id="gitment-display-button">Show comments from Gitment</div>
307-
<div id="gitment-container" style="display:none"></div>
306+
<div id="gitment-container"></div>
308307

309308
</div>
310309

@@ -584,7 +583,7 @@ <h1 class="post-title" itemprop="name headline">tags</h1>
584583
var gitment = new Gitmint({
585584
id: window.location.pathname,
586585
owner: 'githubcpc',
587-
repo: 'https://githubcpc.github.io',
586+
repo: 'githubcpc.github.io',
588587

589588
lang: "zh-Hans" || navigator.language || navigator.systemLanguage || navigator.userLanguage,
590589

@@ -599,11 +598,7 @@ <h1 class="post-title" itemprop="name headline">tags</h1>
599598
}
600599

601600

602-
function showGitment(){
603-
document.getElementById("gitment-display-button").style.display = "none";
604-
document.getElementById("gitment-container").style.display = "block";
605-
renderGitment();
606-
}
601+
renderGitment();
607602

608603
</script>
609604

0 commit comments

Comments
 (0)