-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: css, codeblock rendering, author tag
- Loading branch information
Showing
9 changed files
with
88 additions
and
28 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 |
---|---|---|
|
@@ -5,4 +5,5 @@ navbar: | |
baseURL: https://ssg-test-org.github.io | ||
siteTitle: ssg | ||
siteScripts: | ||
- prism.js | ||
# - prism.js | ||
author: Anna |
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 |
---|---|---|
|
@@ -2,6 +2,11 @@ | |
{{ template "head" .}} | ||
|
||
<body> | ||
<script src="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/highlight.min.js"></script> | ||
|
||
<!-- and it's easy to individually load additional languages --> | ||
<script src="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/languages/go.min.js"></script> | ||
|
||
{{template "header" .}} | ||
|
||
<div class="body"> | ||
|
@@ -13,10 +18,16 @@ | |
data-slug="adityahegde" data-color="#FF5F5F" data-emoji="" data-font="Cookie" data-text="Buy me a coffee" | ||
data-outline-color="#000000" data-font-color="#ffffff" data-coffee-color="#FFDD00"></script> --> | ||
|
||
<script>hljs.highlightAll();</script> | ||
<script> | ||
document.addEventListener('DOMContentLoaded', function() { | ||
// document.querySelectorAll('hljs').style.background = "#1e1e2d"; | ||
}) | ||
</script> | ||
</body> | ||
|
||
{{template "footer" .}} | ||
|
||
</html> | ||
|
||
{{ end}} | ||
{{ end}} |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{{define "footer"}} | ||
<footer> | ||
Rendered using a <a href="https://github.com/acmpesuecc/ssg">custom ssg</a> | ||
Rendered using a <a href="https://github.com/acmpesuecc/ssg">anna</a> ❤️ | ||
</footer> | ||
{{end}} |
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
<link rel="preload stylesheet" href="/static/style.css"> | ||
<link rel="stylesheet" href="/static/prism.css"> | ||
<link rel="alternate" type="application/atom+xml" title="feed" href="/feed.atom"> | ||
|
||
{{range .Frontmatter.JSFiles}} | ||
<script src="/script/{{.}}" defer></script> | ||
{{end}} | ||
|
@@ -21,5 +21,8 @@ | |
<meta property="og:description" content="{{ .Frontmatter.Description }}"> | ||
<meta property="og:image" content="{{ .Frontmatter.PreviewImage }}"> | ||
|
||
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/styles/default.min.css"> --> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/styles/tokyo-night-dark.min.css"> | ||
|
||
</head> | ||
{{end}} |
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