blog

package
v0.0.0-...-fca6a83 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: GPL-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAppConfig

func NewAppConfig() *apps.DBRequiredAppConfig

Types

type BlogContext

type BlogContext struct {
	ctx.ContextWithRequest
	Page pages.Page
}

type BlogPage

type BlogPage struct {
	models.Model `table:"blog_pages"`
	Page         *pages.PageNode `proxy:"true"`
	Image        *mediafiles.SimpleStoredObject
	Editor       *editor.EditorJSBlockData
	Thumbnail    *images.Image
	Document     *documents.Document
	User         users.User
}

func (*BlogPage) FieldDefs

func (n *BlogPage) FieldDefs() attrs.Definitions

func (*BlogPage) ID

func (b *BlogPage) ID() int64

func (*BlogPage) Reference

func (b *BlogPage) Reference() *pages.PageNode

func (*BlogPage) SearchableFields

func (n *BlogPage) SearchableFields() []search.SearchField

func (*BlogPage) ServeHTTP

func (b *BlogPage) ServeHTTP(w http.ResponseWriter, r *http.Request)

type CantSelectField

type CantSelectField struct {
	attrs.Field
}

func (*CantSelectField) AllowDBEdit

func (f *CantSelectField) AllowDBEdit() bool

func (*CantSelectField) CanMigrate

func (f *CantSelectField) CanMigrate() bool

func (*CantSelectField) ForSelectAll

func (f *CantSelectField) ForSelectAll() bool

Jump to

Keyboard shortcuts

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