summaryrefslogtreecommitdiff
path: root/templates/base.html
AgeCommit message (Collapse)Author
2022-03-13Pull changes from mjfer.netmjfernez
This commit adds the changes from the mjfer.net which enable using git as the file last update tracker
2021-12-22Remove site as the parent directory, manual mergemjfernez
merges needed changes (and CSS) from mjfer.net branch
2021-11-01Optimize mobile CSS. Add last update time defaultmjfernez
This commit optimizes the mobile and web css to be responsive on zoom (in supported browsers) and responsive on mobile screens. This is a minimal optimization and lot can be done to improve it, particularly for wider screen devices like tablets This also adds the last update time to all views (except home). Function logic was moved to view functions to support this and rss_generator was changed to depend on it
2021-10-15Link to rss image rather than use from staticmjfernez
This is mostly to avoid license conflicts, I doubt it matters, but would rather be sure.
2021-10-14Adds RSS auto-generation for files in 'site'mjfernez
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.
2021-06-16Changed / to /site, added views.py, README amendedmjfernez
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
2021-06-09Force UTF-8 encodingmjfernez
2021-06-07first commitmjfernez