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
manage open-webui chat
- convert chat to hugo's markdown
tutorial (convert wordpress to hugo+isso)
- (build hugomgmt package)
python -m build -w
- dump your wordpress database
mysqldump ... > data/sql/wordpress.sql
- rsync your wordpress uploads dir
rsync -av wp_server:/path/to/wordpress/wp-content/uploads/ data/uploads/
- boot local db and hugomgmt shell
docker compose up -d
docker compose exec shell sh- hugo new site
apk add hugohugomgmt wp-init-hugo --output /hugohugomgmt isso-initdb
- apply theme
apk add gitgit clone --depth=1 https://github.com/Junyi-99/hugo-theme-anubis2.git /hugo/theme/your-theme- ... or other favorite theme
- convert contents
mkdir /hugo/contenthugomgmt wp-convpost-all --copy-resource /hugo/contenthugomgmt wp-convcomment-all
- view hugo site
cd /hugo && hugo serve
- hugo new site
related links
- wordpress to hugo converters
- how to import dumped xml of wordpress/disqus to isso
- static website compressor
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
hugomgmt-0.2-py3-none-any.whl
(27.7 kB
view details)
File details
Details for the file hugomgmt-0.2-py3-none-any.whl.
File metadata
- Download URL: hugomgmt-0.2-py3-none-any.whl
- Upload date:
- Size: 27.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e130dacaf13f0dcd750901509bef398ac77772e07e7b8228be86178a070db358
|
|
| MD5 |
c0c6002844c505257b91b62d3704b3d8
|
|
| BLAKE2b-256 |
00abd473e3cdeb1080aa6116f63a38118acdb981335b3d1c267daccd07db1bfc
|