| Age | Commit message (Collapse) | Author | Files | Lines |
|
Also refactor and clean up most linter warnings.
|
|
We were building a new gorilla mux on each connection, change
that to an *http.ServeMux and build it once for the lifetime of
the application.
Tell redis to only cache GET requests.
|
|
command. Update docs.
|
|
is being rendered markdown only.
|
|
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.
|
|
Additionally, Funcs can be passed in.
|
|
|
|
|
|
site among other improvements
|
|
|
|
|
|
|
|
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.
|
|
to go modules. Add a build script and version to the command
|
|
reads off of the disk for the new setup
|