Welcome to the blog! This is the first post, serving as a formatting showcase.

Why Flask?

Flask is a minimalist web framework for Python. Unlike Django, it doesn't dictate your project structure — you build exactly what you need.

Code example

A simple Flask application:

from flask import Flask

app = Flask(__name__)

@app.route("/")
def index():
    return "Hello, World!"

if __name__ == "__main__":
    app.run(debug=True)

And here's an example of working with files in Python:

from pathlib import Path

posts_dir = Path("posts")
for md_file in sorted(posts_dir.glob("*.md")):
    print(f"Found post: {md_file.stem}")

Lists

Things this blog can do:

  • Markdown posts with YAML frontmatter
  • Syntax highlighting via Pygments
  • Lazy cache — HTML is generated on first access
  • RSS/Atom feed
  • Tags and filtering by tags

Inline code

Configuration can be found in app.py. Posts are stored in the posts/ directory as .md files.