mixed work for more menu stuff
[webgit] / src / actions.c
index 4242ecb..a2729e2 100644 (file)
 #include <stdio.h>
 
 
+Html
+webgit_main_link (struct webgit_query* query, Html text)
+{
+  return html (
+               html_tag ("a",
+                         html_attr ("href", html_str (query->request->script_name))
+                         ),
+               text
+               );
+}
+
+
 /*
   Main (repository list) page
 */