This commit is contained in:
Stephen Cochrane 2021-04-16 20:56:50 +02:00
parent ac17fb4eef
commit 44f3b691d1
4 changed files with 11 additions and 13 deletions

View File

@ -4,9 +4,9 @@ CC=gcc
FLAGS=-Wall -pedantic
EXE=bin/GenBlog
all: comp blog build
all: build
demo: comp blog buildd
demo: buildd
comp: install
$(CC) $(FLAGS) src/GenBlog.c -o $(EXE)

View File

@ -76,19 +76,17 @@ SBLOCK. What I consider bloat
EBLOCK.
SBLOCK. Contact Details
* Fediverse: @x@social.skiqqy.xyz
* Email: a/mailto:skiqqy@redxen.eu/skiqqy@redxen.eu/ (preferred)
\\\\
* Twitter: @posix_patrol
* Fediverse: a/https://social.skiqqy.xyz/x/x@social.skiqqy.xyz/
\\\\
* Instagram: @_skiqqy
* Twitter: a/https://twitter.com/posix_patrol/@posix_patrol/
\\\\
* Email: ohmyskippy@disroot.org
* Instagram: a/https://www.instagram.com/_skiqqy/@_skiqqy/
\\\\
* xmpp: ohmyskippy@disroot.org
\\\\
* Discord: Skiqqy#1159
EBLOCK.
SBLOCK. Other
* IRC: irc.skiqqy.xyz:6667
\\\\
* IRC: skiqqy
EBLOCK.

View File

@ -11,6 +11,7 @@
}
a{
text-decoration: none;
color:#DC143C
}

View File

@ -28,7 +28,7 @@ int main() {
while ((ent = readdir(dir)) != NULL) {
if (strcmp(ent->d_name, ".") && strcmp(ent->d_name, "..")) {
sprintf(htmlName, "./blogs/");
sprintf(link, "");
link[0] = 0;
c = ent->d_name;
i = 0;
@ -62,7 +62,6 @@ int main() {
}
void genBP(char *file) {
char buff[256];
curr = fopen(file, "r");
// just for debug
@ -102,7 +101,7 @@ void echoFile(FILE *fp) {
strcat(line, cat);
} else {
printf("%s\n", line);
sprintf(line, "");
line[0] = 0;
}
ch = getc(fp);
}