summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrefetch2023-07-16 15:34:42 +0200
committerPrefetch2023-07-16 15:34:42 +0200
commit253df555136a2ab9afbe3e16b410e5e084371a1b (patch)
treef8b2554c8d971e19431ca0b1d86d8b2538e1c5fb
parentff039a8d60e81c771dab31c72d349ef9560c8537 (diff)
Small cleanup for publicationHEADmaster
-rw-r--r--.gitignore2
-rw-r--r--Makefile10
-rw-r--r--config.toml4
-rw-r--r--latex/Makefile1
4 files changed, 12 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index 7ff419e..1281532 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,2 @@
/public/
-/mathjax/
-/static/mathjax/
/latex/know/concept/*/index.html
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..214c466
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+.PHONY: latex serve build
+
+latex:
+ make -C latex/
+
+serve: latex
+ zola serve
+
+build: latex
+ zola build
diff --git a/config.toml b/config.toml
index b274c73..af3e3a7 100644
--- a/config.toml
+++ b/config.toml
@@ -1,5 +1,5 @@
# The URL the site will be built for
-base_url = "https://prefet.ch"
+base_url = "https://prefetch.eu"
title = "Prefetch"
# Whether to automatically compile all Sass files in the sass directory
@@ -10,7 +10,7 @@ build_search_index = false
[markdown]
# Whether to do syntax highlighting
-# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
+# Theme can be customised by setting the `highlight_theme` variable
highlight_code = true
# Put all your custom variables here
diff --git a/latex/Makefile b/latex/Makefile
index 128df11..6496eec 100644
--- a/latex/Makefile
+++ b/latex/Makefile
@@ -1,4 +1,3 @@
-
CONV = pandoc
CONVFLAGS = --from markdown --to html --standalone --template template.html --mathjax=/mathjax/custom-mathjax.min.js