Skip to content

Commit 0df267f

Browse files
author
Vaverka
committed
New Tufte inspired site design.
1 parent 0e9166f commit 0df267f

File tree

224 files changed

+12707
-111816
lines changed

Some content is hidden

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

224 files changed

+12707
-111816
lines changed

.github/workflows/Deploy.yml

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Build and Deploy
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
build-and-deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v2
12+
with:
13+
persist-credentials: false
14+
# NOTE: Python is necessary for the pre-rendering (minification) step
15+
- name: Install python
16+
uses: actions/setup-python@v2
17+
with:
18+
python-version: '3.8'
19+
# NOTE: Here you can install dependencies such as matplotlib if you use
20+
# packages such as PyPlot.
21+
# - run: pip install matplotlib
22+
- name: Install Julia
23+
uses: julia-actions/setup-julia@v1
24+
with:
25+
version: 1.7
26+
# NOTE
27+
# The steps below ensure that NodeJS and Franklin are loaded then it
28+
# installs highlight.js which is needed for the prerendering step
29+
# (code highlighting + katex prerendering).
30+
# Then the environment is activated and instantiated to install all
31+
# Julia packages which may be required to successfully build your site.
32+
# The last line should be `optimize()` though you may want to give it
33+
# specific arguments, see the documentation or ?optimize in the REPL.
34+
- run: julia -e '
35+
using Pkg; Pkg.activate("."); Pkg.instantiate();
36+
using NodeJS; run(`$(npm_cmd()) install highlight.js`);
37+
using Franklin;
38+
optimize()'
39+
- name: Build and Deploy
40+
uses: JamesIves/github-pages-deploy-action@releases/v3
41+
with:
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43+
BRANCH: gh-pages
44+
FOLDER: __site

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
__site/
2+
.DS_Store
3+
node_modules/
4+
package-lock.json
5+
**/jl_*

404.md

+27
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+
~~~

0 commit comments

Comments
 (0)