Create default.html

Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
David Rotermund 2023-12-02 04:19:15 +01:00 committed by GitHub
parent 47071a3440
commit 46759ca9ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

33
_layout/default.html Normal file
View file

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{{ page.title | default: site.title }}</title>
<script type="text/javascript" id="MathJax-script" async
src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js">
</script>
<script>
MathJax = {
tex: {
inlineMath: [['$', '$']]
}
};
</script>
</head>
<body>
<header>
<h1>{{ site.title }}</h1>
</header>
<!-- Main content -->
<main>
{{ content }}
</main>
</body>
</html>