[wiki] [sites] build-page: remove copyright footer || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Sun, 06 Jan 2019 13:18:14 +0100

commit 9bb950c75fda3d479d83c1ca0276e5dd232ce0b3
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Sun Jan 6 13:18:04 2019 +0100

    build-page: remove copyright footer

diff --git a/build-page.c b/build-page.c
index a6e15aae..ee9f909e 100644
--- a/build-page.c
+++ b/build-page.c
_AT_@ -39,15 +39,6 @@ char *html_nav_bar =
         " <a href=\"//git.suckless.org\">source</a>
"
         " </span>
";
 
-char *html_footer =
- "<div id=\"footer\">
"
- "<span class=\"right\">
"
- "&copy; 2006-2019 suckless.org community
"
- "| <a href=\"//ev.suckless.org/impressum\">Impressum</a>
"
- "| <a href=\"//ev.suckless.org\">e.V.</a>
"
- "</span>
"
- "</div>
";
-
 struct domain {
         char *label;
         char *dir;
_AT_@ -170,6 +161,7 @@ void
 print_name(const char *name)
 {
         char c;
+
         for (; c = *name; ++name)
                 putchar((c == '_' || c == '-') ? ' ' : c);
 }
_AT_@ -290,12 +282,6 @@ print_content(char *domain, char *page)
         puts("</div>
");
 }
 
-void
-print_footer(void)
-{
- fputs(html_footer, stdout);
-}
-
 int
 main(int argc, char *argv[])
 {
_AT_@ -315,7 +301,6 @@ main(int argc, char *argv[])
         print_menu_panel(domain, page);
         print_content(domain, page);
         puts("</div>
");
- print_footer();
 
         return 0;
 }
Received on Sun Jan 06 2019 - 13:18:14 CET

This archive was generated by hypermail 2.3.0 : Sun Jan 06 2019 - 13:24:27 CET