Modern Web 全是 Dynamic Content 但 大多数 情况 下 技术 幻觉 大量 网站 用 动态生成 页面 从 Database 读取 Render On Demand 即使 不需要 Interaction 消耗资源 可能 Less Secure 因为 Bad/Malformed Instructions 理论上 生成 Undesired Stuff
Old Web 全是 Static Content - HTML Pages Links Images 不多 Not Bad Very Light Resources Secure as Web Server 但 Interaction 少 Update Content Tedious 有没有 Midway? 那就是 Nikola Static Site Generator

探索 安装 测试
核心 想法: 你 动态 创建 静态 网站 一堆 Python Scripts 帮助 Create/Edit Pages Fix Links 背景 不用 Manual 每次 修改 Plugins Themes 更容易 差异 传统 CMS: 无 Database 本地 Build 全部 上传 到 Server 那里 只是 HTML 和 Images
有趣 因为 Offline Content Creation 现代 不易 2018 写过 讽刺 合理 找到 古老 KompoZer 最合适 GUI + Flexibility Direct Code Editing Nikola Hybrid Approach: 大部分 Command Line 但 有 Visual Editor + Live Browser Previews
跟随 Generic Setup (pip virtualenv) Work Fine 可 Automate (Script) 完成 遵循 Online Tutorial 创建 First Demo Website

nikola init --demo test-site
Creating Nikola Site
====================
This is Nikola v8.0.2. We will now ask you a few easy questions about your new site. If you do not want to answer and want to go with the defaults instead, simply restart with the `-q` parameter.
--- Questions about the site ---
Site title [My Nikola Site]:
提供 Basic Data (需要 Domain Registered 用 Homepage) 创建 First Post 遵循 Instructions 撞问题马上
(nikola) roger@tester:~/nikola/test-site$ nikola new_post -e
Creating New Post
-----------------
Title: Why Badgers Shouldn't Be Allowed to Drive
Scanning posts........done!
[2019-04-07T18:05:25Z] INFO: new_post: Your post's text is at: posts/why-badgers-shouldnt-be-allowed-to-drive.rst
[2019-04-07T18:05:25Z] ERROR: new_post: The $EDITOR environment variable is not set, cannot edit the post with '-e'. Please edit the post manually.
问题: 需要 Manual Export EDITOR Variable 设为 Kate KDE 但 用 任何 Editor 包括 Notepad++ 也行 做完 不会 Error อีก
Editing 怪异 Nikola 用 .rst Extension = reStructuredText 可 Configure Markdown 但 强迫 学 另一个 (怪) Syntax 也 意味著 No Style/Content Separation

不能 Just Work 需要 学 语言 Render HTML 但 CSS Classes, Styles, HTML Elements 怎么样? 做 Website 不是 应该 控制 Actual Syntax? 最后 做 First Post 完 让 Nikola Build

完成 可以 Preview Browser 有 Additional Themes/Plugins 不想 Hack 自己 到目前 不坏 但 有 Questions 最大: Well What's Next? Happy Website 就 Upload 整个东西 FTP? 怎么 Handle Updates?

That's not me in the picture, that's someone far more fabulous than me.
找到 其他 Interesting Bits: Deploy to Build Systems Import Gists Create Charts Thumbnails Code Blocks 但 仍 觉得 Insufficient Focus Final State: User Done Creating Content 怎么 从 Local Build 到 Online Deployment Straightforward?
สรุป
重要 问题: Nikola Tesla Setup Website 今天 用 什么 技术? Microsoft FrontPage? Geocites? Nikola? 喜欢 Concept 喜欢 Idea 省时间 Website Skeleton Updates 但 Approach 太 Devsy 知道 Building Websites 不是 Game 但 不该 是 Hax0rfest
对我 Nikola 更好: Streamlined Setup 用 HTML 直接 或 至少 Add Code Blocks 更直观 Preview/Deployment 知道 Answers Out There 但 美 是 Simple Self-explanatory Tools 给 多过 问 如果 劳动 巨大 才 能 Deploy First Page 那些 本来 省时 的 工具 变成 问题 本来 要 解决 话虽如此 喜欢 Nikola Cool Approach 会 关注 毕竟 谁 知道 Web 4.0 带来 什么
Cheers.