home: github.com/shurcooL/home/internal/page/blog Index | Files

package blog

import "github.com/shurcooL/home/internal/page/blog"

Package blog contains functionality for rendering /blog page.

Index

Package Files

render.go

func RenderBodyInnerHTML Uses

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.

type Post Uses

type Post struct {
    CurrentUser users.User

    issues.Issue
}

Post is an individual blog post.

func (Post) Render Uses

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

Package blog imports 18 packages (graph) and is imported by 1 packages. Updated 2020-07-18. Refresh now. Tools for package owners.