site

package
v0.0.0-...-f5059ab Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const DIR_RWE_MODE = 0777
View Source
const FILE_RW_MODE = 0666

Variables

This section is empty.

Functions

func Build

func Build(config config.Config) error

Load the site project pointed by `config`, then walk `config.SrcDir` and recreate it at `config.TargetDir` by rendering template files and copying static ones. The previous target dir contents are deleted.

func EvalMetadata

func EvalMetadata(config config.Config, expression string) (string, error)

Parse and render the given liquid expression, eg. " site.posts | map:title " and return the results as a json string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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