aboutsummaryrefslogtreecommitdiffstats
path: root/README
Commit message (Collapse)AuthorAgeFilesLines
* Adds RSS auto-generation for files in 'site'mjfernez2021-10-141-223/+0
| | | | | | | | | | | This commit adds rss_generator.py which contains the main logic for indexing the site directory and generating a feed on startup. It serves as a sort of ad-hoc database which is accessed when /feed.xml is requested. Also corrects various typos, README nonsense, and expands the config options for RSS. Instances of './templates/site' have been replaced with the general BASE_DIR variable in the siteconfig.
* Improve README. Expanded cache configmjfernez2021-10-101-30/+18
| | | | | | This commit removes a lot of unnecessary rambling from the README and also makes it easier to use more complex cache options if you want to
* Changed / to /site, added views.py, README amendedmjfernez2021-06-161-6/+10
| | | | | | | | | | | | | | | | | | | | Previously this program served files in the 'templates/site' dir on '/', but this caused problems when accessing raw files using '/raw/' which is useful for embedding or quickly downloading content. It's also an inconvenience to the user, since they have to add a word rather than double-clicking an replacing it. The main server file and the base and index templates have been changed to reflect this. The codebase has been reorganized to separate views from the main flask app. Blueprints were avoided since only one blueprint would be needed so thus unnecessary. README and docstrings were also expanded for clarity and edited for errors. Some comments
* PEP8 and README tweaksmjfernez2021-06-091-21/+23
| | | | | Fixes PEP8 formatting because apparently coala messed this up. Added some clarifying notes in the README.
* Added some more uwsgi tips to READMEmjfernez2021-06-081-5/+22
|
* Added ability to override templates.mjfernez2021-06-081-11/+43
| | | | | | | | | This commit primarily adds the ability to override the base template by adding a '!' on HTML files. It also makes adjustments to the index page display to not show this extra character. Additions to the README reflecting this change, as well as small note on similarity to neocities was added
* wsgi compatibilitymjfernez2021-06-071-6/+8
| | | | | Moves the setup() function outside of main so the app is setup before a wrapper runs it. Also fixes deployment tutorial in the README
* first commitmjfernez2021-06-071-0/+178