models

package
v0.0.0-...-3eee703 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package models contains all models for the application meaning the configurable parts which will be used to render the webpage

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfiguration

func LoadConfiguration(configDir string) (cfg *config.Config, err error)

LoadConfiguration loads the static configuration from configDir

Types

type TemplateData

type TemplateData struct {
	RenderContact bool
	Data          interface{}
	Profile       *config.ProfileConfig
	BasePath      string
}

TemplateData is the object passed to all of the html template renderings

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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