Skip to content

Commit

Permalink
Site updated: 2023-10-18 00:05:09
Browse files Browse the repository at this point in the history
  • Loading branch information
bg51717 committed Oct 17, 2023
1 parent c8b1c67 commit 1455770
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 37 deletions.
23 changes: 12 additions & 11 deletions 2023/10/17/Welcome-to-Lacia-s-Wiki-ans-Blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -228,23 +228,24 @@ <h1 class="article-title" itemprop="name">



<div id="comments"></div>
<script src="https://imsun.github.io/gitment/dist/gitment.browser.js"></script>
<link rel="stylesheet" href="https://imsun.github.io/gitment/style/default.css">
<div id="gitalk-container"></div>
<link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css">
<script src="https://unpkg.com/gitalk/dist/gitalk.min.js"></script>
<script>
var gitment = new Gitment({
id: 'location.pathname', // 例如:location.pathname,确保每个页面的ID唯一
const gitalk = new Gitalk({
clientID: '613126f336ea1c22da47',
clientSecret: '8bf6fc8cbf6f5a5a8fd2415841066d333c1196d2',
repo: 'Hexo-Blogs-comments', // 通常是您的 blog repo
owner: 'bg51717',
repo: 'Hexo-Blogs-comments',
oauth: {
client_id: '613126f336ea1c22da47',
client_secret: '8bf6fc8cbf6f5a5a8fd2415841066d333c1196d2',
},
admin: 'bg51717',
id: location.pathname, // 确保每篇文章的评论是唯一的
distractionFreeMode: false, // 可选
})
gitment.render('comments');
gitalk.render('gitalk-container')
</script>



<footer class="article-footer">
</footer>
</div>
Expand Down
23 changes: 12 additions & 11 deletions about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -195,23 +195,24 @@ <h1 class="article-title" itemprop="name">



<div id="comments"></div>
<script src="https://imsun.github.io/gitment/dist/gitment.browser.js"></script>
<link rel="stylesheet" href="https://imsun.github.io/gitment/style/default.css">
<div id="gitalk-container"></div>
<link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css">
<script src="https://unpkg.com/gitalk/dist/gitalk.min.js"></script>
<script>
var gitment = new Gitment({
id: 'location.pathname', // 例如:location.pathname,确保每个页面的ID唯一
const gitalk = new Gitalk({
clientID: '613126f336ea1c22da47',
clientSecret: '8bf6fc8cbf6f5a5a8fd2415841066d333c1196d2',
repo: 'Hexo-Blogs-comments', // 通常是您的 blog repo
owner: 'bg51717',
repo: 'Hexo-Blogs-comments',
oauth: {
client_id: '613126f336ea1c22da47',
client_secret: '8bf6fc8cbf6f5a5a8fd2415841066d333c1196d2',
},
admin: 'bg51717',
id: location.pathname, // 确保每篇文章的评论是唯一的
distractionFreeMode: false, // 可选
})
gitment.render('comments');
gitalk.render('gitalk-container')
</script>



<footer class="article-footer">
</footer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion content.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"meta":{"title":"Blogs","subtitle":"","description":"","author":"lacia","url":"http://example.com","root":"/"},"pages":[{"title":"Categories","date":"2023-10-17T15:00:40.120Z","updated":"2023-10-17T15:00:40.120Z","comments":true,"path":"categories/index.html","permalink":"http://example.com/categories/index.html","excerpt":"","text":""},{"title":"About","date":"2023-10-17T15:00:40.120Z","updated":"2023-10-17T15:00:40.120Z","comments":true,"path":"about/index.html","permalink":"http://example.com/about/index.html","excerpt":"","text":""},{"title":"Tags","date":"2023-10-17T15:00:40.121Z","updated":"2023-10-17T15:00:40.121Z","comments":true,"path":"tags/index.html","permalink":"http://example.com/tags/index.html","excerpt":"","text":""}],"posts":[{"title":"Welcome to Lacia's Wiki ans Blog","slug":"Welcome-to-Lacia-s-Wiki-ans-Blog","date":"2023-10-17T15:00:40.119Z","updated":"2023-10-17T15:00:40.119Z","comments":true,"path":"2023/10/17/Welcome-to-Lacia-s-Wiki-ans-Blog/","link":"","permalink":"http://example.com/2023/10/17/Welcome-to-Lacia-s-Wiki-ans-Blog/","excerpt":"","text":"这是lacia的个人Wik和Blog站点,主要是把知识系统的罗列出来以及存放一些特殊bug的处理,当然也会更一些游戏或者二次元相关东西,也希望在成长的过程中可以认识许多志同道合的人。 本人一直认为互联网的开源是社会发展的重要原因之一,因为开源使得技术知识和解决问题的经验可以被记录和传承下去,很多时候在需要的时候可以被人们所发掘。","categories":[],"tags":[]}],"categories":[],"tags":[]}
{"meta":{"title":"Blogs","subtitle":"","description":"","author":"lacia","url":"http://example.com","root":"/"},"pages":[{"title":"About","date":"2023-10-17T15:00:40.120Z","updated":"2023-10-17T15:00:40.120Z","comments":true,"path":"about/index.html","permalink":"http://example.com/about/index.html","excerpt":"","text":""},{"title":"Categories","date":"2023-10-17T15:00:40.120Z","updated":"2023-10-17T15:00:40.120Z","comments":true,"path":"categories/index.html","permalink":"http://example.com/categories/index.html","excerpt":"","text":""},{"title":"Tags","date":"2023-10-17T15:00:40.121Z","updated":"2023-10-17T15:00:40.121Z","comments":true,"path":"tags/index.html","permalink":"http://example.com/tags/index.html","excerpt":"","text":""}],"posts":[{"title":"Welcome to Lacia's Wiki ans Blog","slug":"Welcome-to-Lacia-s-Wiki-ans-Blog","date":"2023-10-17T15:00:40.119Z","updated":"2023-10-17T15:00:40.119Z","comments":true,"path":"2023/10/17/Welcome-to-Lacia-s-Wiki-ans-Blog/","link":"","permalink":"http://example.com/2023/10/17/Welcome-to-Lacia-s-Wiki-ans-Blog/","excerpt":"","text":"这是lacia的个人Wik和Blog站点,主要是把知识系统的罗列出来以及存放一些特殊bug的处理,当然也会更一些游戏或者二次元相关东西,也希望在成长的过程中可以认识许多志同道合的人。 本人一直认为互联网的开源是社会发展的重要原因之一,因为开源使得技术知识和解决问题的经验可以被记录和传承下去,很多时候在需要的时候可以被人们所发掘。","categories":[],"tags":[]}],"categories":[],"tags":[]}
23 changes: 12 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -237,23 +237,24 @@ <h1 itemprop="name">



<div id="comments"></div>
<script src="https://imsun.github.io/gitment/dist/gitment.browser.js"></script>
<link rel="stylesheet" href="https://imsun.github.io/gitment/style/default.css">
<div id="gitalk-container"></div>
<link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css">
<script src="https://unpkg.com/gitalk/dist/gitalk.min.js"></script>
<script>
var gitment = new Gitment({
id: 'location.pathname', // 例如:location.pathname,确保每个页面的ID唯一
const gitalk = new Gitalk({
clientID: '613126f336ea1c22da47',
clientSecret: '8bf6fc8cbf6f5a5a8fd2415841066d333c1196d2',
repo: 'Hexo-Blogs-comments', // 通常是您的 blog repo
owner: 'bg51717',
repo: 'Hexo-Blogs-comments',
oauth: {
client_id: '613126f336ea1c22da47',
client_secret: '8bf6fc8cbf6f5a5a8fd2415841066d333c1196d2',
},
admin: 'bg51717',
id: location.pathname, // 确保每篇文章的评论是唯一的
distractionFreeMode: false, // 可选
})
gitment.render('comments');
gitalk.render('gitalk-container')
</script>



<footer class="article-footer">
</footer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion sitemap.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
http://example.com/tags/index.html
http://example.com/categories/index.html
http://example.com/about/index.html
http://example.com/categories/index.html
http://example.com/2023/10/17/Welcome-to-Lacia-s-Wiki-ans-Blog/
http://example.com/
4 changes: 2 additions & 2 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</url>

<url>
<loc>http://example.com/categories/index.html</loc>
<loc>http://example.com/about/index.html</loc>

<lastmod>2023-10-17</lastmod>

Expand All @@ -20,7 +20,7 @@
</url>

<url>
<loc>http://example.com/about/index.html</loc>
<loc>http://example.com/categories/index.html</loc>

<lastmod>2023-10-17</lastmod>

Expand Down

0 comments on commit 1455770

Please sign in to comment.