Documentation ¶
Index ¶
- Constants
- func HugoPageUrl(title string, pageId string) string
- func PageCategory(m *meta.PageMeta) (categories []string)
- func PageContent(pageId string, page *rod.Page) (content string, err error)
- func PageDesc(page *rod.Page) (content string, err error)
- func PageTile(page *rod.Page) (title, titleHtml string, err error)
- type Blog
- type HugoBlogMeta
Constants ¶
View Source
const ContentStyle = ``
View Source
const Head = `` /* 4338-byte string literal not displayed */
View Source
const Host = "https://www.notion.so/"
View Source
const HugoBlogHeaderTpl = `` /* 335-byte string literal not displayed */
View Source
const Mid = `` /* 664-byte string literal not displayed */
View Source
const Tail = `</body>
</html>
`
View Source
const TitleStyle = `` /* 155-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func HugoPageUrl ¶
func PageCategory ¶
Types ¶
type HugoBlogMeta ¶
type HugoBlogMeta struct { Title string `json:"title"` SubTitle string `json:"sub_title"` Excerpt string `json:"excerpt"` Description string `json:"description"` Date string `json:"date"` Image string `json:"image"` Tags []string `json:"tags"` Category []string `json:"category"` UrlPath string `json:"url_path"` Url string `json:"url"` }
Click to show internal directories.
Click to hide internal directories.