pip install serve-static yaml site_name: My Static Website pages_dir: content output_dir: public template_dir: templates markdown {% for post in posts %} ## {{ post.title }} {{ post.content }} {% endfor %} html <!DOCTYPE html> <html> <head> <title>{{ site_name }}</title> </head> <body> <h1>{{ site_name }}</h1> {% block content %}{% endblock %} </body> </html> serve-static build


上一篇:
下一篇:
切换中文