Documentation ¶
Index ¶
- func CreateHTML(s string) template.HTML
- func Download(url string, dst string) error
- func DownloadIfOutdated(url string, dst string, minMtime time.Time) error
- func EnsureDir(dir string) error
- func GetMtime(filePath string) (time.Time, error)
- func GetTimestamp(filePath string) string
- func IsHTML(s string) bool
- func IsMarkdown(s string) bool
- func MustGetMtime(filePath string) time.Time
- func SanitizeName(s string) string
- type Sitemap
- type SitemapEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHTML ¶
func GetTimestamp ¶
func IsMarkdown ¶
func MustGetMtime ¶
func SanitizeName ¶
Types ¶
type Sitemap ¶
type Sitemap struct { Base string MinTimestamp string Entries []*SitemapEntry }
func CreateSitemap ¶
type SitemapEntry ¶
Click to show internal directories.
Click to hide internal directories.