aboutsummaryrefslogtreecommitdiff
path: root/page
AgeCommit message (Collapse)AuthorFilesLines
2023-01-07Add an internal caching option. It performs quite well.v0.0.22Mitchell Riedstra6-130/+114
Also refactor and clean up most linter warnings.
2022-12-07More specific errors during indexing. Don't try to index the BaseTemplatev0.0.21Mitchell Riedstra1-1/+5
2022-12-07Add basic string functions to default template funcmap. Set a var when page ↵v0.0.20Mitchell Riedstra4-2/+51
is being rendered markdown only.
2022-12-03Add a couple handlers to serve up JSON and markdownMitchell Riedstra3-2/+199
2022-10-09Fix broken 404 page on Windows by using appropriate error checking.Mitchell Riedstra1-2/+3
2022-09-17Remove fs / FileSystem library support since it is broken on Windows.Mitchell Riedstra3-24/+20
2022-06-190.0.17a / Alpha. Introduce users and page editing.v0.0.17aMitchell Riedstra2-35/+160
Breaking changes: inc/base.html is now tpl/base.md by default. This can be overridden on the command line. 404.md is now tpl/404.md. This can be overridden with templatedirectory in the configuration file. Additional files: `auth.json` file that stores credentials and settings for authorization cookie. Further notes: This will likely receive some major updates and changes over the next few commits. The scaffolidng is now in place for user accounts, login handling, and page editing. It's all extremely basic at the moment, on the idea list: Listing of all markdown files File uploader and general content management Flags to turn on/off git integration for edits. Download / Upload of all markdown files as a backup/restore. It's of course, all subject to change.
2021-10-24Unix sockets for redis. Page use FS interface. Clear redis func.v0.0.16Mitchell Riedstra3-13/+30
Additionally, Funcs can be passed in.
2021-10-24Redis caching. Linter config and cleanup.Mitchell Riedstra7-55/+102
2021-07-31Make the website run on Windows as wellv0.0.14Mitchell Riedstra1-2/+3
2021-07-18Adjust the program a bit, remove clunky "head" templates. Add an example ↵v0.0.13Mitchell Riedstra3-33/+116
site among other improvements
2021-07-12Add atom feed to the go websiteMitchell Riedstra5-12/+32
2021-02-15Another re-structure. Deleting code is wonderful.v0.0.12Mitchell Riedstra6-13/+412
2020-11-24Add more comments. Expand the interface. Allow templates to more easily be ↵v0.0.11Mitch Riedstra1-0/+1
rendered with external variables.
2020-11-21Touch up some commentsMitch Riedstra1-0/+2
2020-09-26Split up http related stuff out of the page library.Mitch Riedstra5-284/+10
Make it an interface. Rename page to be 'local' reflecting that it reads the website off the local disk. Update the build script to include the go version. Switch to gorilla/mux Remove the convert command, since we're no longer utilizing that old layout or have any need to convert from it.
2020-09-20Save the index in memory and only rebuild if clearedv0.0.7Mitch Riedstra2-0/+19
2020-09-19Allow for setting of the time format in the page library. Support tags. ↵v0.0.6Mitch Riedstra4-17/+112
Rename Name to Path to better reflect what it is.
2020-01-05The markdown files are also templates now.v0.0.5Mitch Riedstra1-4/+27
2020-01-04Incomptiable change to move to the further refined website formatMitch Riedstra1-18/+46
2019-12-22Add support for a 404 pagev0.0.2Mitch Riedstra2-5/+21
2019-12-14Tidy up the server command, pull the handlers into the page library. Convert ↵Mitch Riedstra1-0/+34
to go modules. Add a build script and version to the command
2019-12-01Initial Commit. Small command to convert my old setup and basic server that ↵Mitch Riedstra1-0/+69
reads off of the disk for the new setup