杜郎俊赏 - dujun.io

开源实例之Pelican

前言

Pelican is a static site generator, written in Python, that allows you to create web sites by composing text files in formats such as Markdown, reStructuredText, and HTML.

Pelican 是基于 Python 开发的静态网站生成工具。

实例地址

http://pelican.dujun.eu.org

实例配置

配置描述
系统Debian
开发环境服务端Python 3.9
服务器Nginx
程序Pelican 4.8.0

实例部署

权限要求

  • 具有系统读写权限
  • 已安装 Python
  • 已安装 Nginx

安装程序

官网地址:https://getpelican.com
仓库地址:https://github.com/getpelican/pelican

#安装 Pelican
python3 -m pip install "pelican[markdown]"

#创建项目
pelican-quickstart

#在 content 目录写人 md 文档

#生成静态文件
pelican content

实例体验

首页

文章页

进入实例深度体验

后记

本实例仅供参考,不定期重置数据。

体验更多开源实例

标签: 开源实例 个人开源实例 静态博客开源实例 Python开源实例
日期:2023-06-13