Skip to main content

hugo static site management

Project description

hugo manager

import from wordpress db

  • convert wp posts to markdown files
  • convert wp comments to isso db
  • generate redirect settings for nginx

manage hugo settings

  • generate single patch (diff from theme)
  • apply patch
  • convert/reformat yaml <-> toml

manage isso comments

  • list comments
  • send mail recent comments

manage static site

  • generate .gz for nginx's gzip_static on;
  • generate .br for nginx-mod-brotli's brotli_static on;
  • optimize images
  • convert/reformat rdf1.0 <-> rss2.0 <-> atom

tutorial (convert wordpress to hugo+isso)

  • dump your wordpress database
    • mysqldump ... > data/sql/wordpress.sql
  • boot local db and hugomgmt shell
    • docker compose up -d
  • docker compose exec shell sh
    • hugo new site
      • apk add hugo
      • hugomgmt wp-init-hugo --output /hugo
      • hugomgmt isso-initdb
    • apply theme
      • apk add git
      • git clone --depth=1 https://github.com/Junyi-99/hugo-theme-anubis2.git /hugo/theme/your-theme
        • ... or other favorite theme
    • convert contents
      • mkdir /hugo/content/posts
      • hugomgmt wp-convpost-all /hugo/content/posts
      • hugomgmt wp-convcomment-all
    • view hugo site
      • cd /hugo && hugo serve

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hugomgmt-0.1.dev0-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file hugomgmt-0.1.dev0-py3-none-any.whl.

File metadata

  • Download URL: hugomgmt-0.1.dev0-py3-none-any.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.2

File hashes

Hashes for hugomgmt-0.1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d9fd2fd6556fc079c50a57856cfb9feb20d8bbb64819e8e5c765f2c01c5498f
MD5 5606bf43ee2a2253aff227777f2e4420
BLAKE2b-256 70bd7f4f42e73dfdde01ec2c66fb5cd2aa6344df52c6497115fd33b613993f84

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page