diff options
| author | lonkaars <loek@pipeframe.xyz> | 2023-01-29 17:42:29 +0100 |
|---|---|---|
| committer | lonkaars <loek@pipeframe.xyz> | 2023-01-29 17:42:29 +0100 |
| commit | e87f29e017a75af15d228d537bc20b9fc78ace24 (patch) | |
| tree | cc4a7b76192d32290b569bedbcd8fedec9d7cda2 /anki-card-template | |
| parent | 34ea3829e7cb435a4357b43fcfff514fdd39083e (diff) | |
update sentense-export to work with user.js
Diffstat (limited to 'anki-card-template')
| -rw-r--r-- | anki-card-template/back-template.html.m4 (renamed from anki-card-template/back-template.m4) | 2 | ||||
| -rw-r--r-- | anki-card-template/front-template.html.m4 (renamed from anki-card-template/front-template.m4) | 2 | ||||
| -rw-r--r-- | anki-card-template/makefile | 4 | ||||
| -rw-r--r-- | anki-card-template/template.html.m4 (renamed from anki-card-template/template.m4) | 5 |
4 files changed, 5 insertions, 8 deletions
diff --git a/anki-card-template/back-template.m4 b/anki-card-template/back-template.html.m4 index 79504dc..194c79b 100644 --- a/anki-card-template/back-template.m4 +++ b/anki-card-template/back-template.html.m4 @@ -1,2 +1,2 @@ define(`CARD_SIDE', `back')dnl -include(`template.m4')dnl +include(`template.html.m4')dnl diff --git a/anki-card-template/front-template.m4 b/anki-card-template/front-template.html.m4 index dbfc810..384e112 100644 --- a/anki-card-template/front-template.m4 +++ b/anki-card-template/front-template.html.m4 @@ -1,3 +1,3 @@ define(`CARD_SIDE', `front')dnl -include(`template.m4')dnl +include(`template.html.m4')dnl diff --git a/anki-card-template/makefile b/anki-card-template/makefile index 013acb6..f567bab 100644 --- a/anki-card-template/makefile +++ b/anki-card-template/makefile @@ -5,8 +5,8 @@ all: back-template.html front-template.html include ../common.mk -back-template.html: card.min.js card.min.css template.m4 -front-template.html: card.min.js card.min.css template.m4 +back-template.html: card.min.js card.min.css template.html.m4 +front-template.html: card.min.js card.min.css template.html.m4 clean: $(RM) back-template.html front-template.html card.min.js card.min.css diff --git a/anki-card-template/template.m4 b/anki-card-template/template.html.m4 index 1b2a782..d3aba5d 100644 --- a/anki-card-template/template.m4 +++ b/anki-card-template/template.html.m4 @@ -1,7 +1,4 @@ -define(`EXEC',`translit(esyscmd($1),` -')')dnl -define(`TIMESTAMP',EXEC(`date'))dnl -define(`VERSION',EXEC(`git describe --tags'))dnl +include(`common.m4')dnl <!-- lonkaars anki card template version VERSION() generated at TIMESTAMP() https://git.pipeframe.xyz/lonkaars/refold-tools --> |