templates

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package templates provides embedded HTML templates for the Omnom web application.

This package embeds Go template files into the compiled binary. Templates are used to render HTML pages for the web interface, including:

  • Page layouts and partials
  • Bookmark lists and detail views
  • Feed readers
  • User settings
  • Authentication pages
  • Email templates (HTML and text)

Templates use Go's html/template package for automatic HTML escaping and security. They support template inheritance through blocks and includes.

The template system integrates with:

  • Localization for multi-language support
  • CSRF token injection
  • Flash message display
  • User session data

The FS variable contains all template files and can be parsed by the template engine at startup.

Index

Constants

This section is empty.

Variables

FS contains all embedded template files.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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