Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Determine the path to the assets folder (default: Journey root folder) AssetPath = determineAssetPath() // For assets that are created, changed, our user-provided while running journey ConfigFilename = filepath.Join(AssetPath, "config.json") ContentFilepath = filepath.Join(AssetPath, "content") DatabaseFilepath = filepath.Join(ContentFilepath, "data") DatabaseFilename = filepath.Join(ContentFilepath, "data", "journey.db") ThemesFilepath = filepath.Join(ContentFilepath, "themes") ImagesFilepath = filepath.Join(ContentFilepath, "images") PagesFilepath = filepath.Join(ContentFilepath, "pages") // For https HttpsFilepath = filepath.Join(ContentFilepath, "https") HttpsCertFilename = filepath.Join(ContentFilepath, "https", "cert.pem") HttpsKeyFilename = filepath.Join(ContentFilepath, "https", "key.pem") // For built-in files (e.g. the admin interface) PublicFilepath = filepath.Join("built-in", "public") HbsFilepath = filepath.Join("built-in", "hbs") // For users (this is a url string) DefaultUserImageFilename = "/public/images/user-image.jpg" DefaultUserCoverFilename = "/public/images/user-cover.jpg" )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.