hugoverse

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

README

Hugoverse

DDD SSG (Static Site Generator) Hugo.

Development

Setup development environment

go install

Build

go build -o hugov

Run

➜  hugoverse git:(main) ✗ ./hugov 
Usage:
  hugov [command]

Commands:
    build:  generate static site for Hugo project
   server:  start the headless CMS server
     demo:  create demo Hugo project
  version:  show hugoverse command version

Example:
  hugov build -p pathspec/to/your/hugo/project

Create Hugo Demo Project

➜  hugoverse git:(main) ✗ ./hugov demo
demo dir: /var/folders/rt/bg5xpyj51f98w79j6s80wcr40000gn/T/hugoverse-temp-dir782641825

Result:

➜  hugoverse git:(main) ✗ cd /var/folders/rt/bg5xpyj51f98w79j6s80wcr40000gn/T/hugoverse-temp-dir782641825
➜  hugoverse-temp-dir782641825 tree
.
├── config.toml
├── layouts
│   ├── _default
│   │   └── single.html
│   └── index.html
├── mycontent
│   └── blog
│       └── post.md
├── myproject.txt
└── themes
    └── mytheme
        └── mytheme.txt

7 directories, 6 files

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL