aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/custom_head.html8
-rw-r--r--layouts/partials/footer.html14
-rw-r--r--layouts/partials/katex.html20
3 files changed, 1 insertions, 41 deletions
diff --git a/layouts/partials/custom_head.html b/layouts/partials/custom_head.html
index 022be35..f05a466 100644
--- a/layouts/partials/custom_head.html
+++ b/layouts/partials/custom_head.html
@@ -1,12 +1,6 @@
-<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
<style>
img {
width: 100%;
height: auto;
}
-
- ul.blog-posts li {
- padding: 20px;
- }
-</style>
-{{ if .Params.math }}{{ partial "katex.html" . }}{{ end }} \ No newline at end of file
+</style> \ No newline at end of file
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
deleted file mode 100644
index 67e9326..0000000
--- a/layouts/partials/footer.html
+++ /dev/null
@@ -1,14 +0,0 @@
-<div style="display: inline; padding: 15px">
- <i class="fas fa-envelope"></i>
- <a href="mailto:mail@karanjayachandra.com">Email</a>
-</div>
-<div style="display: inline; padding: 15px">
- <i class="fa-brands fa-gitlab"></i>
- <a href="https://gitlab.com/KaranJayachandra">Gitlab</a>
-</div>
-<div style="display: inline; padding: 15px">
- <i class="fa-brands fa-linkedin"></i>
- <a href="https://www.linkedin.com/in/karanjayachandra">LinkedIn</a>
-</div>
-<br><br>
-Made with <a href="https://github.com/janraasch/hugo-bearblog/">Hugo ʕ•ᴥ•ʔ Bear</a> \ No newline at end of file
diff --git a/layouts/partials/katex.html b/layouts/partials/katex.html
deleted file mode 100644
index 57e5c1a..0000000
--- a/layouts/partials/katex.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.css">
-<style>
- .katex-display > .katex {
- max-width: 100%;
- overflow-x: auto;
- overflow-y: hidden;
- }
-</style>
-<script defer src="https://cdn.jsdelivr.net/npm/katex@latest/dist/katex.min.js"></script>
-<script defer src="https://cdn.jsdelivr.net/npm/katex@latest/dist/contrib/auto-render.min.js" onload="renderMathInElement(document.body);"></script>
-<script>
- document.addEventListener("DOMContentLoaded", function() {
- renderMathInElement(document.body, {
- delimiters: [
- {left: "$$", right: "$$", display: true},
- {left: "$", right: "$", display: false}
- ]
- });
- });
-</script> \ No newline at end of file