use FOOTER and LICENSE instead of FOOTER1 and FOOTER2 macros
This commit is contained in:
parent
20c9d6b8bd
commit
b55e1c086b
1 changed files with 8 additions and 9 deletions
17
main.c
17
main.c
|
@ -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> "\
|
||||
"<a rel='me' href='https://fosstodon.org/@nilix'><img width='24' "\
|
||||
"height='24' "\
|
||||
"src='/img/mastodon.svg' alt='visit me on Mastodon'/></a> "\
|
||||
"<a href='https://vimeo.com/rexnillith'><img width='24' height='24' "\
|
||||
"src='/img/vimeo.svg' alt='visit me on Vimeo'/></a> "
|
||||
#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> "\
|
||||
"<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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue