use FOOTER and LICENSE instead of FOOTER1 and FOOTER2 macros

This commit is contained in:
Iris Lightshard 2021-10-06 13:54:13 -06:00
parent 20c9d6b8bd
commit b55e1c086b
Signed by: Iris Lightshard
GPG key ID: 3B7FBC22144E6398

17
main.c
View file

@ -26,23 +26,22 @@ WITH REGARD TO THIS SOFTWARE.
"verify my signature: <a href='/serv/signingKey.pub'>signing public key</a><br/>"\
"send me an encrypted message: <a href='/serv/encryptionKey.pub'>encryption public key</a>"
#define CONTACT "contact: <a href='mailto://nilix@nilfm.cc'>nilix@nilfm.cc</a> (<a href='keys.html'>keys</a>)<br/>"
#define FOOTER1 "<a href='/git/'><img width='24' height='24' "\
#define FOOTER "<a href='/git/'><img width='24' height='24' "\
"src='/img/git.svg' alt='visit the nilFM hack lab'/></a>&nbsp;"\
"<a rel='me' href='https://fosstodon.org/@nilix'><img width='24' "\
"height='24' "\
"src='/img/mastodon.svg' alt='visit me on Mastodon'/></a>&nbsp;"\
"<a href='https://vimeo.com/rexnillith'><img width='24' height='24' "\
"src='/img/vimeo.svg' alt='visit me on Vimeo'/></a>&nbsp;"
#define FOOTER2 "<a href='https://webring.xxiivv.com'><img width='24' height='24' "\
"src='/img/webring.svg' alt='visit the Webring'/></a><br/>"\
"<a rel='license' "\
"src='/img/vimeo.svg' alt='visit me on Vimeo'/></a>&nbsp;"\
"<a href='https://webring.xxiivv.com'><img width='24' height='24' "\
"src='/img/webring.svg' alt='visit the Webring'/></a><br/>"
#define LICENSE "<a rel='license' "\
"href='https://creativecommons.org/licenses/by-nc/4.0/"\
"legalcode.txt'>CC-BY-NC 4</a>"
#define SITEROOT "../www/"
#define MAINCSS "/new.css"
#define FRONTCSS "/front.css"
#define LICENSE ""
#define SOURCE ""
/* clang-format on */
@ -347,8 +346,8 @@ int fpfooter(FILE* f, char* name, char* path) {
fpedited(f, path);
fputs(CONTACT, f);
}
fputs(FOOTER1, f);
fputs(FOOTER2, f);
fputs(FOOTER, f);
fputs(LICENSE, f);
fputs("</footer>", f);
return 1;
}