<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ezcms.git/views.py, branch mjfer.net</title>
<subtitle>Basic flask app I made to serve mjfer.net
</subtitle>
<id>https://git.mjfer.net/ezcms.git/atom?h=mjfer.net</id>
<link rel='self' href='https://git.mjfer.net/ezcms.git/atom?h=mjfer.net'/>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/'/>
<updated>2023-12-24T17:41:02Z</updated>
<entry>
<title>Update SEO, grab meta descriptions from .desc</title>
<updated>2023-12-24T17:41:02Z</updated>
<author>
<name>mjfernez</name>
<email>mjf@mjfer.net</email>
</author>
<published>2023-12-24T17:41:02Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=2495b97b0ba33f3e7bf96e09d4a6c8dc7ac5107e'/>
<id>urn:sha1:2495b97b0ba33f3e7bf96e09d4a6c8dc7ac5107e</id>
<content type='text'>
Keyword tags are outdated so those have been removed. Descriptions are
more important that SEO. The description of the parent directory is used
</content>
</entry>
<entry>
<title>Fixes RSS issues. Changes time tracking to git</title>
<updated>2022-03-10T23:34:22Z</updated>
<author>
<name>mjfernez</name>
<email>mjf@mjfer.net</email>
</author>
<published>2022-03-10T23:34:22Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=c0be486968fe3d375d1f408eae7f954e1f5f82fc'/>
<id>urn:sha1:c0be486968fe3d375d1f408eae7f954e1f5f82fc</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Merge server changes from branch master</title>
<updated>2022-02-25T22:41:46Z</updated>
<author>
<name>mjfernez</name>
<email>mjf@mjfer.net</email>
</author>
<published>2022-02-25T22:41:46Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=b7333699e61837793e128ae0628ac6b0b111e6dd'/>
<id>urn:sha1:b7333699e61837793e128ae0628ac6b0b111e6dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove caching for raw file types</title>
<updated>2022-02-20T19:25:28Z</updated>
<author>
<name>mjfernez</name>
<email>mjf@mjfer.net</email>
</author>
<published>2022-02-20T19:25:28Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=dc98898dea798a1f2902a20aa340e0aa7aee48a9'/>
<id>urn:sha1:dc98898dea798a1f2902a20aa340e0aa7aee48a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix 500 error for missing files</title>
<updated>2022-02-03T05:31:01Z</updated>
<author>
<name>mjfernez</name>
<email>mjf@mjfer.net</email>
</author>
<published>2022-02-03T05:31:01Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=2805900e8fa008936f996c5986a9a1f31c6c0f50'/>
<id>urn:sha1:2805900e8fa008936f996c5986a9a1f31c6c0f50</id>
<content type='text'>
Instead, entering an invalid path will yield a 404 page as expected.

The error was introduced by adding the file_last_modified check before
confirming in the file exists in the render_file function
</content>
</entry>
<entry>
<title>Removed "/site" appendage. CSS fixes</title>
<updated>2021-12-22T21:38:35Z</updated>
<author>
<name>mjfernez</name>
<email>mjf@mjfer.net</email>
</author>
<published>2021-12-22T21:38:35Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=e4b7179c121473be2e53999cc50933521498c7a9'/>
<id>urn:sha1:e4b7179c121473be2e53999cc50933521498c7a9</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Optimize mobile CSS. Add last update time default</title>
<updated>2021-11-02T03:56:07Z</updated>
<author>
<name>mjfernez</name>
<email>mjf@mjfer.net</email>
</author>
<published>2021-11-02T03:56:07Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=ec6feec81ebab89dc6779027649b1ce517042d22'/>
<id>urn:sha1:ec6feec81ebab89dc6779027649b1ce517042d22</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Adds RSS auto-generation for files in 'site'</title>
<updated>2021-10-15T00:14:53Z</updated>
<author>
<name>mjfernez</name>
<email>mjfernez@gmail.com</email>
</author>
<published>2021-10-15T00:14:53Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=c583a69362f86fcc8e1b35a45a06dd8377d6308f'/>
<id>urn:sha1:c583a69362f86fcc8e1b35a45a06dd8377d6308f</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Caching support. Separate views.py in 2 files</title>
<updated>2021-10-11T02:15:07Z</updated>
<author>
<name>mjfernez</name>
<email>mjfernez@gmail.com</email>
</author>
<published>2021-10-11T02:15:07Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=02a37ad308fbcc27a04787c84a76de7c2936a6d5'/>
<id>urn:sha1:02a37ad308fbcc27a04787c84a76de7c2936a6d5</id>
<content type='text'>
This commit adds the Flask-Caching module to the software stack and
enables the caching of views in a wide variety of ways, but implemented
here to be simple to understand to someone new to the concept of caching
(aka me).

Various documentation and formatting was applied to all files. views.py
internal functions (mostly related to filesystem operations of the
server). have been moved into view_functions.py
</content>
</entry>
<entry>
<title>Clarify siteconfig</title>
<updated>2021-08-26T00:05:00Z</updated>
<author>
<name>mjfernez</name>
<email>mjfernez@gmail.com</email>
</author>
<published>2021-08-26T00:05:00Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=6ddd97e1c39f55fe60fca093ca4fe610eca6d462'/>
<id>urn:sha1:6ddd97e1c39f55fe60fca093ca4fe610eca6d462</id>
<content type='text'>
This clarifies what the MAIN_SITE_DIRS option means since one might
read it to mean you can put your directories anywhere. Not so, you can
only pick which dirs are displayed with that option.

Also recommends to not use the secret key unless needed (for what
reason, I don't know).
</content>
</entry>
</feed>
