]> Pileus Git - ~andy/aweather-web/blobdiff - index.c
Add RSL page, misc fixes
[~andy/aweather-web] / index.c
diff --git a/index.c b/index.c
index 7fa87d22b401f9edf6db4eac21624ac0404bbc7d..f43a9d83ab25f596ed8dcd1c5f0e79732fdffe26 100644 (file)
--- a/index.c
+++ b/index.c
@@ -10,20 +10,21 @@ page_t header[] = {
        {"development", "Development", print_development},
        {NULL,          NULL,          NULL},
 };
-page_t grits[] = {
-       {"grits",   "Grits",   print_grits},
-       {NULL,      NULL,      NULL},
+page_t other[] = {
+       {"grits",       "Grits",       print_grits},
+       {"rsl",         "RSL",         print_rsl},
+       {NULL,          NULL,          NULL},
 };
 page_t footer[] = {
-       {"contact", "Contact", print_contact},
-       {NULL,      NULL,      NULL},
+       {"contact",     "Contact",     print_contact},
+       {NULL,          NULL,          NULL},
 };
 page_t special[] = {
-       {"index.cgi", NULL,        print_index},
-       {"notfound",  "Not found", print_notfound},
-       {NULL,        NULL,        NULL},
+       {"index.cgi",   NULL,          print_index},
+       {"notfound",    "Not found",   print_notfound},
+       {NULL,          NULL,          NULL},
 };
-page_t *everything[] = {header, grits, footer, special, NULL};
+page_t *everything[] = {header, other, footer, special, NULL};
 const page_t *index    = &special[0];
 const page_t *notfound = &special[1];