Skip to content

Commit 5fd8cb1

Browse files
committed
add new template
1 parent 42989f5 commit 5fd8cb1

361 files changed

Lines changed: 3756 additions & 5 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
_site/
2-
2+
package-lock.json
3+
node_modules/
4+
Manifest.toml

.well-known/brave-rewards-verification.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

404.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
@def title = "404"
2+
3+
~~~
4+
<div style="margin-top: 40px; font-size: 40px; text-align: center;">
5+
6+
<br>
7+
8+
<div style="font-weight: bold;">
9+
404
10+
</div>
11+
12+
<br>
13+
<br>
14+
15+
The requested page was not found
16+
17+
<br>
18+
<br>
19+
<br>
20+
<br>
21+
22+
<div style="margin-bottom: 300px; font-size: 24px">
23+
<a href="/">Click here</a> to go back to the homepage.
24+
</div>
25+
26+
</div>
27+
~~~

Project.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[deps]
2+
Franklin = "713c75ef-9fc9-4b05-94a9-213340da978e"
3+
FranklinUtils = "dcd8a645-c81d-482f-af4b-568f72f3e16d"
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Parent file to run all scripts which may generate
2+
# some output that you want to display on the website.
3+
# this can be used as a tester to check that all the code
4+
# on your website runs properly.
5+
6+
dir = @__DIR__
7+
8+
"""
9+
genplain(s)
10+
11+
Small helper function to run some code and redirect the output (stdout) to a file.
12+
"""
13+
function genplain(s::String)
14+
open(joinpath(dir, "output", "$(splitext(s)[1]).txt"), "w") do outf
15+
redirect_stdout(outf) do
16+
include(joinpath(dir, s))
17+
end
18+
end
19+
end
20+
21+
# genplain("some_script.jl")

_assets/scripts/js/nav.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
function myFunction() {
2+
var x = document.getElementById("hidden");
3+
if (x.style.display === "block") {
4+
x.style.display = "none";
5+
} else {
6+
x.style.display = "block";
7+
}
8+
}

_assets/theme.scss

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/*
2+
Set your website theme here.
3+
*/
4+
5+
// Background
6+
$primary-background: #ffffff;
7+
$secondary-background: #7dd4db;
8+
$tertiary-background: #4fb9c1;
9+
10+
// Foreground
11+
$primary-foreground: #000000;
12+
$secondary-foreground: #9b4d5f;
13+
$tertiary-foreground: #b85b74;
14+
15+
// Font
16+
$font-stack: Helvetica, Arial, sans-serif;
17+
$xlarge-font: 24px;
18+
$large-font: 22px;
19+
$normal-font: 20px;
20+
$medium-font: 17px;
21+
$small-font: 14px;
22+
23+
// Footer
24+
$footer-font-stack: Arial, serif;
25+
$footer-text-color: #a6a2a0;
26+
$footer-font-size: 16px;

_layout/basic/foot_highlight.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<script src="/libs/highlight/highlight.min.js"></script>
2+
<script>hljs.highlightAll();hljs.configure({tabReplace: ' '});</script>

_layout/basic/foot_katex.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<script src="/libs/katex/katex.min.js"></script>
2+
<script src="/libs/katex/contrib/auto-render.min.js"></script>
3+
<script>renderMathInElement(document.body)</script>

_layout/basic/head_highlight.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<link rel="stylesheet" href="/libs/highlight/styles/github.min.css">

0 commit comments

Comments
 (0)