hugo
No long description provided.
Installation
dagger install github.com/stuttgart-things/dagger/hugo@v0.11.1Entrypoint
Return Type
HugoExample
dagger -m github.com/stuttgart-things/dagger/hugo@9b3dcd04d5909c3c63cd9389afa5986cc3df218a call \
func (m *MyModule) Example() *dagger.Hugo  {
	return dag.
			Hugo()
}@function
def example() -> dagger.Hugo:
	return (
		dag.hugo()
	)@func()
example(): Hugo {
	return dag
		.hugo()
}Types
Hugo 🔗
baseImage() 🔗
Return Type
String !Example
dagger -m github.com/stuttgart-things/dagger/hugo@9b3dcd04d5909c3c63cd9389afa5986cc3df218a call \
 base-imagefunc (m *MyModule) Example(ctx context.Context) string  {
	return dag.
			Hugo().
			BaseImage(ctx)
}@function
async def example() -> str:
	return await (
		dag.hugo()
		.base_image()
	)@func()
async example(): Promise<string> {
	return dag
		.hugo()
		.baseImage()
}serve() 🔗
Return Type
Service !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| config | File ! | - | No description provided | 
| content | Directory ! | - | No description provided | 
| name | String | "hugo" | The project name | 
| baseUrl | String | "0.0.0.0" | The base url to use | 
| port | String | "1313" | The Port to use | 
| theme | String | "github.com/joshed-io/reveal-hugo" | The Theme to use | 
Example
dagger -m github.com/stuttgart-things/dagger/hugo@9b3dcd04d5909c3c63cd9389afa5986cc3df218a call \
 serve --config file:path --content DIR_PATHfunc (m *MyModule) Example(config *dagger.File, content *dagger.Directory) *dagger.Service  {
	return dag.
			Hugo().
			Serve(config, content)
}@function
def example(config: dagger.File, content: dagger.Directory) -> dagger.Service:
	return (
		dag.hugo()
		.serve(config, content)
	)@func()
example(config: File, content: Directory): Service {
	return dag
		.hugo()
		.serve(config, content)
}exportStaticContent() 🔗
Return Type
Directory !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| siteDir | Directory ! | - | No description provided | 
| theme | String | "github.com/joshed-io/reveal-hugo" | The Theme to use | 
Example
dagger -m github.com/stuttgart-things/dagger/hugo@9b3dcd04d5909c3c63cd9389afa5986cc3df218a call \
 export-static-content --site-dir DIR_PATHfunc (m *MyModule) Example(siteDir *dagger.Directory) *dagger.Directory  {
	return dag.
			Hugo().
			ExportStaticContent(siteDir)
}@function
def example(site_dir: dagger.Directory) -> dagger.Directory:
	return (
		dag.hugo()
		.export_static_content(site_dir)
	)@func()
example(siteDir: Directory): Directory {
	return dag
		.hugo()
		.exportStaticContent(siteDir)
}buildAndExport() 🔗
Return Type
Directory !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| name | String ! | - | No description provided | 
| config | File ! | - | No description provided | 
| content | Directory ! | - | No description provided | 
| theme | String | "github.com/joshed-io/reveal-hugo" | The Theme to use | 
Example
dagger -m github.com/stuttgart-things/dagger/hugo@9b3dcd04d5909c3c63cd9389afa5986cc3df218a call \
 build-and-export --name string --config file:path --content DIR_PATHfunc (m *MyModule) Example(name string, config *dagger.File, content *dagger.Directory) *dagger.Directory  {
	return dag.
			Hugo().
			BuildAndExport(name, config, content)
}@function
def example(name: str, config: dagger.File, content: dagger.Directory) -> dagger.Directory:
	return (
		dag.hugo()
		.build_and_export(name, config, content)
	)@func()
example(name: string, config: File, content: Directory): Directory {
	return dag
		.hugo()
		.buildAndExport(name, config, content)
}initSite() 🔗
Return Type
Directory !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| name | String ! | - | No description provided | 
| config | File ! | - | No description provided | 
| content | Directory ! | - | No description provided | 
| theme | String | "github.com/joshed-io/reveal-hugo" | The Theme to use | 
Example
dagger -m github.com/stuttgart-things/dagger/hugo@9b3dcd04d5909c3c63cd9389afa5986cc3df218a call \
 init-site --name string --config file:path --content DIR_PATHfunc (m *MyModule) Example(name string, config *dagger.File, content *dagger.Directory) *dagger.Directory  {
	return dag.
			Hugo().
			InitSite(name, config, content)
}@function
def example(name: str, config: dagger.File, content: dagger.Directory) -> dagger.Directory:
	return (
		dag.hugo()
		.init_site(name, config, content)
	)@func()
example(name: string, config: File, content: Directory): Directory {
	return dag
		.hugo()
		.initSite(name, config, content)
}