rename meta_notes.m4 to meta_defs.m4
authorAmin Bandali <bandali@gnu.org>
Fri, 17 Jul 2020 05:59:01 +0000 (01:59 -0400)
committerAmin Bandali <bandali@gnu.org>
Fri, 17 Jul 2020 05:59:01 +0000 (01:59 -0400)
to serve as a general-purpose all-in-one location for `define's

header.html
meta_defs.m4 [new file with mode: 0644]
meta_feed_atom.m4
meta_feed_rss.m4
meta_notes.m4 [deleted file]
mmath.m4

index 562119b..3a14408 100644 (file)
@@ -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',
 `<entry xml:base="https://bndl.org">
 ifdef(`__slug',,`define(__slug, _get(`notes', __id))')dnl
 ifdef(`__feed_atom',
 `<entry xml:base="https://bndl.org">
diff --git a/meta_defs.m4 b/meta_defs.m4
new file mode 100644 (file)
index 0000000..30d52b4
--- /dev/null
@@ -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, `<span class="t-logo">L<sup>a</sup>T<sub>e</sub>X</span>')dnl
index a425652..d9da718 100644 (file)
@@ -1,4 +1,4 @@
-include(meta_notes.m4)dnl
+include(meta_defs.m4)dnl
 <?xml version="1.0" encoding="UTF-8"?>
 <feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
 <title>Amin Bandali's Personal Site</title>
 <?xml version="1.0" encoding="UTF-8"?>
 <feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
 <title>Amin Bandali's Personal Site</title>
index cc24c84..c0e30c9 100644 (file)
@@ -1,4 +1,4 @@
-include(meta_notes.m4)dnl
+include(meta_defs.m4)dnl
 <?xml version="1.0" encoding="UTF-8" ?>
 <rss version="2.0">
 <channel>
 <?xml version="1.0" encoding="UTF-8" ?>
 <rss version="2.0">
 <channel>
diff --git a/meta_notes.m4 b/meta_notes.m4
deleted file mode 100644 (file)
index 62d2efa..0000000
+++ /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
index 83e0dde..98584a3 100644 (file)
--- 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(__title, `Master of Mathematics')dnl
 define(__slug, `mmath')dnl
 include(header.html)dnl
-define(__latex, `<span class="t-logo">L<sup>a</sup>T<sub>e</sub>X</span>')dnl
 
 <article>
 <h1>Master of Mathematics</h1>
 
 <article>
 <h1>Master of Mathematics</h1>