From: Amin Bandali Date: Fri, 17 Jul 2020 05:59:01 +0000 (-0400) Subject: rename meta_notes.m4 to meta_defs.m4 X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/bndl.org/commitdiff_plain/206884ba366bc325051c0862756f2ad18ad94729 rename meta_notes.m4 to meta_defs.m4 to serve as a general-purpose all-in-one location for `define's --- diff --git a/header.html b/header.html index 562119b..3a14408 100644 --- a/header.html +++ b/header.html @@ -1,4 +1,4 @@ -include(meta_notes.m4)dnl +include(meta_defs.m4)dnl ifdef(`__slug',,`define(__slug, _get(`notes', __id))')dnl ifdef(`__feed_atom', ` diff --git a/meta_defs.m4 b/meta_defs.m4 new file mode 100644 index 0000000..30d52b4 --- /dev/null +++ b/meta_defs.m4 @@ -0,0 +1,8 @@ +define(`__latest', 3)dnl +define(`_put', `define(`$1[$2]', `$3')')dnl +define(`_get', `defn(`$1[$2]')')dnl +_put(`notes', 1, `arch-macbook-air')dnl +_put(`notes', 2, `computing')dnl +_put(`notes', 3, `fsf-internship/intro')dnl +dnl +define(__latex, `')dnl diff --git a/meta_feed_atom.m4 b/meta_feed_atom.m4 index a425652..d9da718 100644 --- a/meta_feed_atom.m4 +++ b/meta_feed_atom.m4 @@ -1,4 +1,4 @@ -include(meta_notes.m4)dnl +include(meta_defs.m4)dnl Amin Bandali's Personal Site diff --git a/meta_feed_rss.m4 b/meta_feed_rss.m4 index cc24c84..c0e30c9 100644 --- a/meta_feed_rss.m4 +++ b/meta_feed_rss.m4 @@ -1,4 +1,4 @@ -include(meta_notes.m4)dnl +include(meta_defs.m4)dnl diff --git a/meta_notes.m4 b/meta_notes.m4 deleted file mode 100644 index 62d2efa..0000000 --- a/meta_notes.m4 +++ /dev/null @@ -1,6 +0,0 @@ -define(`__latest', 3)dnl -define(`_put', `define(`$1[$2]', `$3')')dnl -define(`_get', `defn(`$1[$2]')')dnl -_put(`notes', 1, `arch-macbook-air')dnl -_put(`notes', 2, `computing')dnl -_put(`notes', 3, `fsf-internship/intro')dnl diff --git a/mmath.m4 b/mmath.m4 index 83e0dde..98584a3 100644 --- a/mmath.m4 +++ b/mmath.m4 @@ -2,7 +2,6 @@ dnl -*- html -*- define(__title, `Master of Mathematics')dnl define(__slug, `mmath')dnl include(header.html)dnl -define(__latex, `')dnl

Master of Mathematics