templates

package
v0.0.0-...-f54f72f Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteIndexHTMLTemplate

func ExecuteIndexHTMLTemplate(w io.Writer, serverName string, website *webhostingv1alpha1.Website, theme *webhostingv1alpha1.Theme) error

ExecuteIndexHTMLTemplate renders the index template and writes it to the given io.Writer.

func RenderIndexHTML

func RenderIndexHTML(serverName string, website *webhostingv1alpha1.Website, theme *webhostingv1alpha1.Theme) (string, error)

RenderIndexHTML renders the index template and returns it as a string.

func RenderNginxConf

func RenderNginxConf(serverName string, website *webhostingv1alpha1.Website) (string, error)

RenderNginxConf renders the nginx config template and returns it as a string.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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