aboutsummaryrefslogtreecommitdiffstats
path: root/templates
Commit message (Collapse)AuthorAgeFilesLines
* Changed / to /site, added views.py, README amendedmjfernez2021-06-162-2/+2
| | | | | | | | | | | | | | | | | | | | 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
* Added markdown to default mime typesmjfernez2021-06-093-42/+43
|
* Force UTF-8 encodingmjfernez2021-06-092-1/+34
|
* Remove swap filesmjfernez2021-06-085-0/+0
|
* Added ability to override templates.mjfernez2021-06-087-1/+7
| | | | | | | | | 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
* first commitmjfernez2021-06-0721-0/+202