Blog/content/posts/2017-10-09-migrating-my-blog-to-hugo.md

50 lines
1.9 KiB
Markdown
Raw Normal View History

2017-10-09 12:03:43 +02:00
---
title: "Migrating My Blog to Hugo"
date: 2017-10-09T07:46:41+02:00
author: eNBeWe
type: post
categories:
- Allgemein
- Internes
- Serveradministration
tags:
- Wordpress
- Hugo
- Intern
- Server
---
I have been fed up with my old [Wordpress][1]-based blog for quite some time now.
One factor might be the missing updates, but another issue was Wordpress (WP) itself.
Sure, WP looks like a simple solution, if all you want is have a blog
with some usable tools around it.
<!--more-->
The biggest issue I have with WP, is the attack surface I expose on my server.
Every site is dynamically generated with PHP (yuck!) and the site has stuff like logins to manage.
Given the popularity of WP, it is a [common target][2] for attackers and securtity issues in WP
are often exploited to get access to unsuspecting bloggers.
That is the reason, why I want to get rid of WP, and dynamic pages, altogether.
Enter [Hugo][3], a static site generator. With hugo I can organize my content nicely
in a [Git][4] repository and automatically generate my site from there.
No more dynamic parsing and no more exploitable user input on every page load.
Of course, there are also some small issues with a static site.
First, there are no comments at the moment. There are dedicated
comment tools for this purpose that I will look into, after the initial site 'relaunch' is done.
Second, I have to make sure that the old content is rendered properly.
This means going through all old posts and making sure everything looks okay.
For now I will upload this roughly migrated version, to get rid of WP. Everything else ... later.
2017-11-08 00:03:23 +01:00
**Update:** I have integrated comments through [isso][5].
I had some issues getting the whole thing to work, but now it looks good, I think.
2017-10-09 12:03:43 +02:00
[1]: https://wordpress.org/
[2]: https://heise.de/-3624301
[3]: https://gohugo.io/
[4]: /dienste/git/
[5]: https://posativ.org/isso/