filenames

package
v0.0.0-...-6489cfc Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminFilepath

func AdminFilepath() string

For built-in files (e.g. the admin interface)

func AssetPath

func AssetPath() string

Determine the path to the assets folder (default: Journey root folder)

func ConfigFilename

func ConfigFilename() string

var ( For assets that are created, changed, our user-provided while running journey

func ContentFilepath

func ContentFilepath() string

func CreateDirs

func CreateDirs()

func DatabaseFilename

func DatabaseFilename() string

func DatabaseFilepath

func DatabaseFilepath() string

func DefaultBlogCoverFilename

func DefaultBlogCoverFilename() string

func DefaultBlogLogoFilename

func DefaultBlogLogoFilename() string

For blog (this is a url string) TODO: This is not used at the moment because it is still hard-coded into the create database string

func DefaultUserCoverFilename

func DefaultUserCoverFilename() string

func DefaultUserImageFilename

func DefaultUserImageFilename() string

For users (this is a url string)

func ExecutablePath

func ExecutablePath() string

Determine the path the Journey executable is in - needed to load relative assets

func HbsFilepath

func HbsFilepath() string

func HttpsCertFilename

func HttpsCertFilename() string

func HttpsFilepath

func HttpsFilepath() string

For https

func HttpsKeyFilename

func HttpsKeyFilename() string

func ImagesFilepath

func ImagesFilepath() string

func PagesFilepath

func PagesFilepath() string

func PluginsFilepath

func PluginsFilepath() string

func PublicFilepath

func PublicFilepath() string

func ThemesFilepath

func ThemesFilepath() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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