diff --git a/Makefile b/Makefile index 2411429..a38b41b 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,5 @@ clean: rm -rf out build: ./render.sh -sitemap: out/sitemap.xml - ./gensimap.sh push: build rclone sync -v out/ neo:/ diff --git a/m4/lib.m4 b/m4/lib.m4 index a89e069..46841d6 100644 --- a/m4/lib.m4 +++ b/m4/lib.m4 @@ -1,5 +1,6 @@ -dnl extra macros for site structure -define(`_wrap',<$1>$2$1>)dnl -define(`_a',$2)dnl -define(`_empty',`')dnl -define(`_ytv',`')dnl +divert(-1) +# extra macros for site structure +define(`_ytv',`') +define(`_wrap',<$1>$2$1>) +define(`_empty',`') +divert dnl diff --git a/m4/linkdata.m4 b/m4/linkdata.m4 deleted file mode 100644 index 7f56e1b..0000000 --- a/m4/linkdata.m4 +++ /dev/null @@ -1,2 +0,0 @@ -define(`entr', `pushdef(`_LINK',$1)')dnl -entr(`/,Home') diff --git a/m4/main.html.m4 b/m4/main.html.m4 index ea83fdc..429fadf 100644 --- a/m4/main.html.m4 +++ b/m4/main.html.m4 @@ -1,11 +1,9 @@ dnl template.m4.html v2.0-p1 dnl Part of the tape-and-string suite used to construct the website ifdef(`DEBUG',`traceon')dnl -# ifdef(`_INFILE',`dnl ',`errprint(`Macro _INFILE is not defined') -# m4exit(1)')dnl -include(`lib.m4')dnl -include(`linkdata.m4')dnl -define(`_la',`_a(`argn(`1',$1),argn(`2',$1)') +ifdef(`_INFILE',`dnl ',`errprint(`Macro _INFILE is not defined') +m4exit(1)')dnl +include(`m4/lib.m4')dnl
@@ -16,11 +14,10 @@ define(`_la',`_a(`argn(`1',$1),argn(`2',$1)')