Versions in this module Expand all Collapse all v0 v0.42.2 Jun 28, 2018 v0.42.1 Jun 13, 2018 Changes in this version + var FilePathSeparator = string(filepath.Separator) + func AbsPathify(workingDir, inPath string) string + type BaseURL struct + func (b BaseURL) Path() string + func (b BaseURL) String() string + func (b BaseURL) URL() *url.URL + func (b BaseURL) WithProtocol(protocol string) (string, error) + type Paths struct + AbsPublishDir string + AbsResourcesDir string + AllThemes []ThemeConfig + BasePath string + CanonifyURLs bool + Cfg config.Provider + ContentDir string + DefaultContentLanguage string + DisablePathToLower bool + Fs *hugofs.Fs + Language *langs.Language + Languages langs.Languages + PaginatePath string + PublishDir string + RemovePathAccents bool + ThemesDir string + UglyURLs bool + WorkingDir string + func New(fs *hugofs.Fs, cfg config.Provider) (*Paths, error) + func (p *Paths) AbsPathify(inPath string) string + func (p *Paths) GetLangSubDir(lang string) string + func (p *Paths) GetLanguagePrefix() string + func (p *Paths) Lang() string + func (p *Paths) ThemeSet() bool + func (p *Paths) Themes() []string + type ThemeConfig struct + Cfg config.Provider + ConfigFilename string + Name string + func CollectThemes(fs afero.Fs, themesDir string, themes []string) ([]ThemeConfig, error)