Versions in this module Expand all Collapse all v2 v2.1.0 May 7, 2024 Changes in this version + type Date int64 + type Frontmatter struct + Authors []string + Date string + Description string + Draft bool + Head bool + JSFiles []string + PreviewImage string + TOC bool + Tags []string + Title string + Type string + type LayoutConfig struct + Author string + BaseURL string + Navbar []string + SiteScripts []string + SiteTitle string + ThemeURL string + type Note struct + Body template.HTML + CompleteURL template.URL + Date int64 + Frontmatter Frontmatter + LinkedNoteURLs []template.URL + LiveReload bool + MarkdownBody string + type Parser struct + ErrorLogger *log.Logger + Helper *helpers.Helper + LayoutConfig LayoutConfig + LiveReload bool + MdFilesName []string + MdFilesPath []string + Notes map[template.URL]Note + Posts []TemplateData + RenderDrafts bool + TagsMap map[template.URL][]TemplateData + Templates map[template.URL]TemplateData + func (p *Parser) AddFile(baseDirPath string, dirEntryPath string, frontmatter Frontmatter, ...) + func (p *Parser) BackLinkParser() + func (p *Parser) DateParse(date string) time.Time + func (p *Parser) ParseBacklink(noteURL template.URL) + func (p *Parser) ParseConfig(inFilePath string) + func (p *Parser) ParseLayoutFiles() *template.Template + func (p *Parser) ParseMDDir(baseDirPath string, baseDirFS fs.FS) + func (p *Parser) ParseMarkdownContent(filecontent string) (Frontmatter, string, string, bool) + func (p *Parser) ParseRobots(inFilePath string, outFilePath string) + func (p *Parser) ValidateBackLink(noteTitle string) (template.URL, error) + type TemplateData struct + Body template.HTML + CompleteURL template.URL + Date int64 + Frontmatter Frontmatter + LiveReload bool Other modules containing this package github.com/acmpesuecc/anna