A long time ago, I set up a WordPress blog for a family member. There are lots of options these days, but back then there were few decent choices if you needed a web-based CMS with a WYSIWYG editor. An unfortunate side effect of things working well is that the blog has generated a lot of content over time. That means I was also regularly updating WordPress to protect against the exploits that are constantly popping up.rnrnSo I decided to convince the family member that switching to Hugo would be relatively easy, and the blog could then be hosted on GitLab. But trying to extract all that content and convert it to Markdown turned into a huge hassle. There were automated scripts that got me 95% there, but nothing worked perfectly. Manually updating all the posts was not something I wanted to do, so eventually, I gave up trying to move the blog.rnrnRecently, I started thinking about this again and realized there was a solution I hadn't considered: I could continue maintaining the WordPress server but set it up to publish a static mirror and serve that with GitLab Pages (or GitHub Pages if you like). This would allow me to automate Let's Encrypt certificate renewals as well as eliminate the security concerns associated with hosting a WordPress site. This would, however, mean comments would stop working, but that feels like a minor loss in this case because the blog did not garner many comments.rnrnHere's the solution I came up with, which so far seems to be working well:rnrn Host WordPress site at URL that is not linked to or from anywhere else to reduce the odds of it being exploited. In this example, we'll use http://private.localconspiracy.com
(even though this site is actually built with Pelican).rn Set up hosting on GitLab Pages for the public URL https://www.localconspiracy.com.rn
Add a cron job that determines when the last-built date differs between the two URLs; if the build dates differ, mirror the WordPress version.rn After mirroring with wget, update all links from "private" version to "public" version.rn Do a git push to publish the new content.
configurable api server written in Go for handling form submissions
Decoupled CMS architecture (aka "headless") is rising in popularity in the development world. This model allows breakthrough user experiences, gives developers great flexibility to innovate, and helps site owners future-proof their builds. Learn more about headless CMS from Pantheon.
Hi everyone, I'm migrating my 4000+ blog from Jekyll. Friggen fast, spf13 and team have done an amazing job. Still wrapping my head around Hugo taxonomies. Is it possible to change the permalink for category and tag ar...
Since 2006, my small blog has existed as a Wordpress site. This worked really well for me, as it was easy to hit a one-click install from a hosting dashboard, and then be able to install plugins, themes, and updates, all from the Wordpress admin. Ultimately it was one less thing vying for my time as opposed to a custom site from scratch. With limited free time, and a choice of projects to work on, the last thing I really wanted to do was website design and maintenance.
I see people are mostly using Disqus. I just dropped this topic to discuss on others. Have you tried something else? Share it. 1. Muut (with both gratis and enterprise services) [image] Embeding: http://learn.mu
Introduction This tutorial will show you how to create a simple theme in Hugo. I assume that you are familiar with HTML, the bash command line, and that you are comfortable using Markdown to format content. I'll explain how Hugo uses templates and how you can organize your templates to create a theme. I won't cover using CSS to style your theme.We'll start with creating a new site with a very basic template.
Here is a demonstration of how I use Hugo's Data Files to manage a certain pages on this website easily.
Socialite provides a very easy way to implement and activate a plethora of social sharing buttons - any time you wish. On document load, on article hover, on any event!
Recently the re-development of a web site was given to me. The re-worked site is to be done in Markdown and run through the Hugo static site generator. Is there a way to include other files in a
2014/11/20: I've been exploring Hugo lately. Interesting.
2016/03/31: I use the static web-site generator Hugo to create my home page. I also use Emacs as my main editor. Hugo is good with Markdown. Emacs is good at Markdown, too. But much better with Org-Mode.
2014/10/09: See: https://github.com/spf13/hugo/pull/553
One learns something by reading the code. Insert <!--more--> in the content page after "the summary". This way it also keeps the formatting. Now my index page looks kind ...
Add a login page to a Hugo site hosted on Bitbucket
How to write content, deploy automatically and host your website
2014/11/21: attempt at an SEO "plugin" for Hugo. I'm also hoping that this can be the start of standardizing some important variables, especially authors, images and videos. https://github.com/nozzle/hugo-snippets