summaryrefslogtreecommitdiff
path: root/pages.h
AgeCommit message (Collapse)AuthorFilesLines
2020-01-11make createfile() take a template argumentDaniel Jones1-1/+2
also begin rss page generation
2020-01-06generate blog postsDaniel Jones1-2/+4
now we generate blog posts properly
2020-01-02start generating page (blog navigation) barDaniel Jones1-0/+1
really needs to be cleaned up though
2020-01-02direct post pages generate nowDaniel Jones1-0/+1
2019-12-31remove all the copypastaingDaniel Jones1-0/+1
2019-12-31start generating postsDaniel Jones1-0/+5
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-0/+8
2019-12-28implement gettime()Daniel Jones1-1/+2
2019-12-28removed ugly createtmpfile() hackDaniel Jones1-2/+8
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-0/+3
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/+1
2019-12-25first commitDaniel Jones1-0/+32