Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
1,280 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<div class="gitalk"> | ||
<div id="gitalk-container"></div> | ||
<script type="text/javascript"> | ||
const gitalk = new Gitalk({ | ||
clientID: '<%=theme.gitalk.client_id%>', | ||
clientSecret: '<%=theme.gitalk.client_secret%>', | ||
repo: '<%=theme.gitalk.repo%>', | ||
owner: '<%=theme.gitalk.owner%>', | ||
admin: ['<%=theme.gitalk.admin%>'], | ||
id: md5(location.pathname), // Ensure uniqueness and length less than 50 | ||
distractionFreeMode: false // Facebook-like distraction free mode | ||
}) | ||
gitalk.render('gitalk-container') | ||
</script> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -302,6 +302,10 @@ | |
padding: 0 40px; | ||
} | ||
|
||
.gitalk{ | ||
padding: 0 40px; | ||
} | ||
|
||
#disqus_thread{ | ||
padding: 0 40px; | ||
} |
Oops, something went wrong.