From 134a13fd646ad1e2fbde985a995e8df966505499 Mon Sep 17 00:00:00 2001 From: Orestis <orestis.malaspinas@hesge.ch> Date: Tue, 24 Sep 2019 08:45:45 +0200 Subject: [PATCH] added tufte --- .gitlab-ci.yml | 3 +++ .gitmodules | 3 +++ Makefile | 2 +- css/tufte-css | 1 + 4 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 160000 css/tufte-css diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aa81012..c087574 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,8 @@ image: omalaspinas/pandoc_website:latest +variables: + GIT_SUBMODULE_STRATEGY: recursive + before_script: ## ## Run ssh-agent (inside the build environment) diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..822f448 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "css/tufte-css"] + path = css/tufte-css + url = https://github.com/edwardtufte/tufte-css.git diff --git a/Makefile b/Makefile index 6128db4..da2c801 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ STYLES := css/tufte-css/tufte.css \ all: index.html index.html: index.md Makefile - pandoc -o $@ $< -t html5 -c css/styling.css --self-contained + pandoc -o $@ $< -t html5 -c css/tufte-css/tufte.css --self-contained deploy: all mkdir -p site diff --git a/css/tufte-css b/css/tufte-css new file mode 160000 index 0000000..c414b91 --- /dev/null +++ b/css/tufte-css @@ -0,0 +1 @@ +Subproject commit c414b9117d5b39bdb747a172822333fc1043aee3 -- GitLab