Skip to content

Commit

Permalink
feature 1
Browse files Browse the repository at this point in the history
tried fixing comments and added dark mode (hopefully)
  • Loading branch information
ScottN13 committed Jul 26, 2024
1 parent 2677961 commit d403d3d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ description: "uhh yeah funny" # This will show up in places like twitter, linked
#########################################################################################
theme: "minima"

comments_repo: ScottN13/blog # comments/issues

kramdown:
syntax_highlighter_opts:
disable: true
Expand Down
9 changes: 9 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,14 @@
<script type="text/javascript" src="/js/highlightjs/languages/tsql.min.js"></script>

<script type="text/javascript"> hljs.highlightAll(); </script>

<!-- dark theme using DarkReader -->
<script src="//unpkg.com/[email protected]/darkreader.js"></script>
<script type="text/javascript">
DarkReader.setFetchMethod(window.fetch); // Fix to remedy CORS errors in chrome console
//DarkReader.enable();
DarkReader.auto( {brightness: 100, contrast: 90, sepia: 10} );
</script>

<!-- end highlight.js support -->
</head>
6 changes: 5 additions & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}
{% include navlinks.html %}
</div>

<!--This is the nav bottom bar-->
<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>

<!--This is the comments section-->

<script src="https://utteranc.es/client.js"
repo="ScottN13/blog"
issue-term="pathname"
Expand All @@ -34,5 +39,4 @@ <h1 class="post-title p-name" itemprop="name headline">{{ page.title | escape }}
zasync>
</script>

<a class="u-url" href="{{ page.url | relative_url }}" hidden></a>
</article>
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Hello! Welcome to my blog!
Hello! Welcome to my blog!
Here i post guides and updates.


0 comments on commit d403d3d

Please sign in to comment.