summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-01-19rss template changeDaniel Jones1-1/+1
2020-01-19rss: off-by-one for number of rss items to writeDaniel Jones1-1/+1
2020-01-19rss: fix description generationDaniel Jones1-9/+9
2020-01-19rss: fix emailDaniel Jones1-1/+1
2020-01-19rss: check for images earlierDaniel Jones1-5/+2
2020-01-19line break inside cdata..Daniel Jones1-1/+1
2020-01-19add line break to imagesDaniel Jones1-1/+1
2020-01-19rss feed: first image in each post shown in CDATA tagDaniel Jones4-7/+68
2020-01-19makefile: delete output dir on clean and make dir on buildDaniel Jones1-1/+4
2020-01-18pretty sure we should be checking for \n hereDaniel Jones1-1/+1
2020-01-17small clean of unneeded code and some logicDaniel Jones1-14/+2
2020-01-17add some rss tagsDaniel Jones1-0/+6
2020-01-15removed cirno and added madokaDaniel Jones1-1/+1
2020-01-12fix makefileDaniel Jones1-1/+1
2020-01-12make valgrind happyDaniel Jones1-2/+2
2020-01-12finished rss generationDaniel Jones4-3/+27
added rss button to template
2020-01-12further work implementing rss feedDaniel Jones4-5/+155
currently broken
2020-01-11make createfile() take a template argumentDaniel Jones4-9/+45
also begin rss page generation
2020-01-09improve live.shDaniel Jones1-0/+6
2020-01-06Merge branch 'master' of ↵Daniel Jones1-2/+2
ssh://danieljon.es:6669/home/daniel/git/websitegenerator
2020-01-06remove unnecessary printf'sDaniel Jones1-2/+0
2020-01-06pagebar generation: don't add .html to link (proper)Daniel Jones1-2/+2
2020-01-06pagebar generation: don't asdd .html to linkDaniel Jones1-2/+2
2020-01-06use std=c99Daniel Jones1-1/+1
2020-01-06added script to push site liveDaniel Jones1-0/+4
2020-01-06generate blog postsDaniel Jones3-17/+141
now we generate blog posts properly
2020-01-02start generating page (blog navigation) barDaniel Jones2-1/+38
really needs to be cleaned up though
2020-01-02replaced strcat()'s with snprintf()Daniel Jones1-23/+6
2020-01-02direct post pages generate nowDaniel Jones3-12/+47
2019-12-31added array of posts to ignoreDaniel Jones2-0/+13
2019-12-31further reduce sizeDaniel Jones1-16/+8
2019-12-31remove all the copypastaingDaniel Jones3-161/+37
2019-12-31start generating postsDaniel Jones4-29/+125
currently gets every file in the posts directory, sorts them and temporarily creates empty txt files in output/posts. lots to do still.
2019-12-30generate most pages except postsDaniel Jones3-5/+262
2019-12-28implement gettime()Daniel Jones2-7/+14
2019-12-28removed ugly createtmpfile() hackDaniel Jones2-31/+55
now instead use a struct that either has a filename or string to write into the file. do whichever is appropriate
2019-12-27moved some code around and finished basic page generationDaniel Jones3-14/+59
it is far too hacky though, createtmpfile() is an ugly hack that cannot stay. the problem is replaceinpage() and the functions it calls expects a file name that it opens, i cannot just pass it a string. i need to figure out a better solution
2019-12-26added ability to write to an offset in a fileDaniel Jones2-0/+88
2019-12-26don't use tempfile()Daniel Jones1-12/+5
instead we create a temp file in the cwd and rename it to the desired output file name and location
2019-12-25added readmeDaniel Jones1-0/+1
2019-12-25first commitDaniel Jones7-0/+1087