From 253df555136a2ab9afbe3e16b410e5e084371a1b Mon Sep 17 00:00:00 2001 From: Prefetch Date: Sun, 16 Jul 2023 15:34:42 +0200 Subject: Small cleanup for publication --- .gitignore | 2 -- Makefile | 10 ++++++++++ config.toml | 4 ++-- latex/Makefile | 1 - 4 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 Makefile 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 -- cgit v1.2.3