filenames

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// For assets that are created, changed, our user-provided while running journey
	ConfigFilename   = filepath.Join(flags.CustomPath, "config.json")
	LogFilename      = filepath.Join(flags.CustomPath, "log.txt")
	DatabaseFilename = filepath.Join(flags.CustomPath, "content", "data", "journey.db")
	ThemesFilepath   = filepath.Join(flags.CustomPath, "content", "themes")
	ImagesFilepath   = filepath.Join(flags.CustomPath, "content", "images")
	ContentFilepath  = filepath.Join(flags.CustomPath, "content")
	PluginsFilepath  = filepath.Join(flags.CustomPath, "content", "plugins")

	// For https
	HttpsCertFilename = filepath.Join(flags.CustomPath, "content", "https", "cert.pem")
	HttpsKeyFilename  = filepath.Join(flags.CustomPath, "content", "https", "key.pem")

	//For built-in files (e.g. the admin interface)
	AdminFilepath  = filepath.Join("built-in", "admin")
	PublicFilepath = filepath.Join("built-in", "public")

	// For handlebars (this is a url string)
	JqueryFilename = "/public/jquery/jquery.js"

	// 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
	DefaultBlogLogoFilename  = "/public/images/blog-logo.jpg"
	DefaultBlogCoverFilename = "/public/images/blog-cover.jpg"

	// 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.

Jump to

Keyboard shortcuts

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