Help us shape the future of Go! Take the 2026 Go Developer Survey

internal

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package internal is the site's pages: the home, one published page, and the two things a visitor sees when there is nothing to show.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mount

func Mount(api *httpx.API, s Site)

Mount composes the stylesheet once and serves the two routes through the composition layer. There are no controllers: the site runs no script.

Types

type Site

type Site struct {
	Settings sitecontracts.Service
	Content  contentcontracts.Service
	Theme    design.Pair
}

Site is the shell: the two services it reads and the palette it composes.

Jump to

Keyboard shortcuts

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