Commit graph

4 commits

Author SHA1 Message Date
32ddb8df24
feat: Enhances blog with thumbnails and excerpts
Some checks failed
Build and Deploy Static Site / build (push) Failing after 1m54s
Adds image thumbnails and automatically extracts an excerpt
from each blog post to improve visual engagement and content
overview. Modifies HTML templates to display thumbnails next to
post titles and includes "read more" links. Adjusts pagination
links for consistent relative paths and corrects the directory
structure for the first blog page. Updates dependencies to include
Pillow for image processing.

Relates to blog UI improvements.
2024-11-27 09:58:08 +01:00
c4f333e2a5
feat: Add blog generation functionality
All checks were successful
Build and Deploy Static Site / build (push) Successful in 2m20s
Introduces a static blog generation feature leveraging markdown
for content files and template rendering for HTML output.

Imports new dependencies for YAML parsing and markdown conversion.
Enhances site structure by copy-assets function to ensure non-markdown
contents like images are maintained.

Modifies templates for relative asset path resolution to allow
correct linking of stylesheets and images.

Helps in managing content workflow by auto-generating paginated
lists and individual post pages, improving content accessibility.
2024-11-27 09:37:39 +01:00
8e81ba73b2
chore: remove Flask from requirements
All checks were successful
Build and Deploy Static Site / build (push) Successful in 57s
Removed Flask from the requirements.txt file as it is no longer needed for the project dependencies. This helps to streamline the dependency management and reduces potential security vulnerabilities that come with maintaining unnecessary packages.
2024-07-01 10:59:34 +02:00
193546fcde
Implement dynamic service rendering with Flask
Refactored the website to serve dynamic content using Flask, replacing static HTML pages. This allows for the centralized management of service data through a JSON file. Optimizations include:

- Added a .gitignore file to exclude Python and Flask-specific temporary files.
- Migrated static assets into an organized directory structure to facilitate Flask's static file serving.
- Removed redundant HTML files and created Flask template versions with dynamic content rendering.
- Introduced Caddy server configuration for the new Flask architecture, including headers for security and CORS policy, and reverse proxy settings for route handling.

With these changes, website maintenance and updates are simplified, allowing for service information to be updated in a single location (`services.json`), which then propagates to the user-facing pages automatically.
2023-12-31 13:59:13 +01:00