summaryrefslogtreecommitdiff
path: root/pages.c
AgeCommit message (Collapse)AuthorFilesLines
2020-01-02direct post pages generate nowDaniel Jones1-12/+45
2019-12-31added array of posts to ignoreDaniel Jones1-0/+12
2019-12-31further reduce sizeDaniel Jones1-16/+8
2019-12-31remove all the copypastaingDaniel Jones1-160/+35
2019-12-31start generating postsDaniel Jones1-27/+99
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 Jones1-4/+201
2019-12-28implement gettime()Daniel Jones1-6/+12
2019-12-28removed ugly createtmpfile() hackDaniel Jones1-29/+47
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 Jones1-14/+55
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 Jones1-0/+87
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-25first commitDaniel Jones1-0/+238