aboutsummaryrefslogtreecommitdiffstats
path: root/templates
Commit message (Collapse)AuthorAgeFilesLines
* Simplify CSSmjfernez2023-12-201-0/+0
|
* Better fix for mobile viewmjfernez2023-12-201-1/+3
|
* Add canonical URL. More SEO tagsmjfernez2023-12-201-1/+3
|
* Remove mobile formattingmjfernez2023-12-201-0/+0
|
* Update media dir to be symlinked. Update linksmjfernez2023-11-252-4/+7
| | | | Primarily to save space on git. It's easier to rysnc the images
* Style fix for bulletsmjfernez2023-10-231-0/+0
|
* Removed bullet pointsmjfernez2023-09-272-0/+6
|
* Fix link for parent foldermjfernez2023-07-142-1/+1
|
* Target set to open in new tab by default. +Imagesmjfernez2023-07-143-5/+6
|
* Ignore RSS descriptions for special character textmjfernez2022-09-101-0/+0
|
* Fixes RSS issues. Changes time tracking to gitmjfernez2022-03-102-1/+1
| | | | | | | | | | | | This commit primarily changes the code base to base the file last modified time on the output of "git log". This adds dateutil and git itself as a dependency, but those are pretty common... This also fixes some minor issues including: - missing / between mjfer.net and the URI - README up to date with latest changes - linting
* Add mimetypes for html! templatesmjfernez2022-02-261-0/+0
|
* hotfix for special char error in uwsgimjfernez2022-02-251-0/+0
|
* Update main css. Add new CSS for resumemjfernez2022-02-251-0/+0
|
* Remove caching for raw file typesmjfernez2022-02-201-0/+0
|
* remove timezone from last updatemjfernez2022-02-061-1/+1
| | | | Daylight savings sucks
* Properly do submodules and stop being stupidmjfernez2022-02-031-1/+0
|
* Fixed favicon path. deleted useless scriptmjfernez2022-02-031-1/+1
|
* Removed "/site" appendage. CSS fixesmjfernez2021-12-222-5/+6
| | | | | | | | This commit removes the "/site" appended to every directory and solved the problem of redirecting links correctly by setting 'parent_dir' in the main view context to point to '/' by default. This also changes how titles appear to conform to my sensibilities.
* Adjust headings. Add meta tagsmjfernez2021-11-141-3/+12
|
* Add images for home pagemjfernez2021-11-071-1/+1
|
* Commit all local files for mjfer.netmjfernez2021-11-0724-193/+7
| | | | Excepting files in site-files.git
* Optimize mobile CSS. Add last update time defaultmjfernez2021-11-012-7/+11
| | | | | | | | | | | 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
* Link to rss image rather than use from staticmjfernez2021-10-151-1/+3
| | | | | This is mostly to avoid license conflicts, I doubt it matters, but would rather be sure.
* Adds RSS auto-generation for files in 'site'mjfernez2021-10-142-0/+29
| | | | | | | | | | | 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.
* .description is now rendered as htmlmjfernez2021-06-172-1/+4
| | | | | | | | .description was previously read as a text file, but this is cumbersome and limits the user. This allows the user to embed html in their .description files by adding the "cur_path" variable to context. 'index.html' has been updated to render the template located in cur_path if a description file exists
* 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