Migrating from Hexo to Hugo: A Complete Guide

Migrating from Hexo to Hugo: A Complete Guide After using Hexo for several years, I decided to migrate to Hugo for better performance and more modern features. Here’s my complete migration guide. Why Hugo? Hugo offers several advantages over Hexo: Faster build times: Hugo is written in Go and builds sites incredibly fast Better performance: Generated sites are more optimized Rich ecosystem: Excellent themes and plugins Active development: Regular updates and improvements Migration Steps 1. Install Hugo 1 2 3 4 5 6 7 8 # macOS brew install hugo # Windows choco install hugo # Linux sudo apt-get install hugo 2. Create New Hugo Site 1 2 hugo new site my-blog cd my-blog 3. Install Theme I chose PaperMod for its clean, modern design: ...

August 6, 2024 · 5 min · 898 words · GeekRun

Sample Private Post

Sample Private Post This is a sample post that demonstrates the encryption feature of the blog. Some content below is password protected. Public Content This content is visible to everyone. You can write normal blog posts with regular content here. Code Example Here’s a sample code block: 1 2 3 4 5 6 7 def hello_world(): print("Hello, World!") return "Success!" # Call the function result = hello_world() print(result) Protected Content The following content is password protected. You can use the default password geekrun123 or specify a custom password. ...

August 6, 2024 · 2 min · 365 words · GeekRun