config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Blog

type Blog interface {
	MarkdownPath(*notionapi.Page) string
	ImagePath(*notionapi.Page, *notionapi.Block) string
	ImagePathInMarkdown(*notionapi.Page, *notionapi.Block) string
}

type Hugo

type Hugo struct {
	// contains filtered or unexported fields
}

func NewHugoBlog

func NewHugoBlog(postDir, staticDir string) (*Hugo, error)

func (*Hugo) ImagePath

func (c *Hugo) ImagePath(page *notionapi.Page, block *notionapi.Block) string

func (*Hugo) ImagePathInMarkdown

func (c *Hugo) ImagePathInMarkdown(page *notionapi.Page, block *notionapi.Block) string

func (*Hugo) MarkdownPath

func (c *Hugo) MarkdownPath(page *notionapi.Page) string

Jump to

Keyboard shortcuts

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