cmd

package
v0.0.0-...-132bbe1 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyDir

func CopyDir(src string, dst string) error

Dir copies a whole directory recursively

func CopyFile

func CopyFile(src, dst string) error

func Execute

func Execute()

func WalkMatch

func WalkMatch(root, pattern string) ([]string, error)

Types

type Ext

type Ext struct {
	Title          string
	Description    string
	DescriptionTag string
}

func (*Ext) Extend

func (e *Ext) Extend(md goldmark.Markdown)

func (*Ext) Transform

func (e *Ext) Transform(node *gast.Document, reader text.Reader, pc parser.Context)

type FrontMatter

type FrontMatter struct {
	Published bool     `yaml:"published"`
	Date      string   `yaml:"date"`
	Tags      []string `yaml:"tags"`
}

Directories

Path Synopsis
pageparser
Package pageparser provides a parser for Hugo content files (Markdown, HTML etc.) in Hugo.
Package pageparser provides a parser for Hugo content files (Markdown, HTML etc.) in Hugo.

Jump to

Keyboard shortcuts

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