blog

package
v0.0.0-...-c858694 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package blog contains functionality for rendering /blog page.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderBodyInnerHTML

func RenderBodyInnerHTML(ctx context.Context, w io.Writer, issuesService issues.Service, blogURI issues.RepoSpec, notification notification.Service, authenticatedUser users.User, returnURL string) error

RenderBodyInnerHTML renders the inner HTML of the <body> element of the Blog page. It's safe for concurrent use.

Types

type Post

type Post struct {
	CurrentUser users.User

	issues.Issue
}

Post is an individual blog post.

func (Post) Render

func (p Post) Render() []*html.Node

Jump to

Keyboard shortcuts

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