posts

package
v0.0.0-...-be7e757 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HelloWorld = Post{
		Path:   "notes/0-hello-world.html",
		Title:  "Hello, World",
		Posted: "2021-04-11",
	}
	MountainGoat = Post{
		Path:   "notes/1-mountain-goats.html",
		Title:  "Mountain Goats",
		Posted: "2021-04-14",
		Tags:   []string{"allegory"},
	}
	Ackermann = Post{
		Path:    "notes/2-ackerman-function-expansions.html",
		Title:   "Ackermann Function Expansions",
		Posted:  "2021-04-16",
		Updated: "2021-04-16",
		Tags:    []string{"programming", "lisp"},
	}
	GoodAdvice = Post{
		Path:    "notes/3-good-advice.html",
		Title:   "Guy Clark On Good Advice",
		Posted:  "2021-04-19",
		Updated: "2021-04-20",
		Tags:    []string{"music"},
	}
	MatchingParens = Post{
		Path:    "notes/4-matching-parens.html",
		Title:   "Matching Parens",
		Posted:  "2021-04-30",
		Updated: "2021-04-30",
		Tags:    []string{"programming", "lisp", "javascript"},
	}
	PeppersIntro = Post{
		Path:    "notes/5-peppers-intro.html",
		Title:   "Peppers Intro",
		Posted:  "2021-08-01",
		Updated: "2021-10-15",
		Tags:    []string{"peppers", "gardening"},
	}
	MutableCallArgsInPython = Post{
		Path:    "notes/6-mutable-call-args-in-python.html",
		Title:   "Mutable Call Arguments in Python",
		Posted:  "2021-08-25",
		Updated: "2021-12-05",
		Tags:    []string{"programming"},
	}
	PeppersPartTwo = Post{
		Path:    "notes/7-peppers-part-2.html",
		Title:   "Peppers Part 2: The Flowering",
		Posted:  "2021-09-22",
		Updated: "2021-10-15",
		Tags:    []string{"peppers", "gardening"},
	}
	ModernFrontendProblems = Post{
		Path:    "notes/8-the-problem-with-modern-web-development.html",
		Title:   "The Problem With Modern Web Development",
		Posted:  "2021-09-22",
		Updated: "2021-10-09",
		Tags:    []string{"programming"},
	}
	CoffeeFromAnOldCoworker = Post{
		Path:    "notes/9-maple-leaf-coffee-nicaraguan-el-finca.html",
		Title:   "Coffee From an Old Coworker",
		Posted:  "2021-10-01",
		Updated: "2021-10-09",
		Tags:    []string{"coffee"},
	}
	PeppersPartThree = Post{
		Path:    "notes/10-peppers-part-3-fruits.html",
		Title:   "Peppers Part 3: Fruits",
		Posted:  "2021-10-10",
		Updated: "2021-10-15",
		Tags:    []string{"peppers", "gardening"},
	}
	AlacrittySpawnNewWindow = Post{
		Path:    "notes/11-alacritty-spawn-new-window.html",
		Title:   "Spawning New Windows in Alacritty (On Fedora 35)",
		Posted:  "2021-12-04",
		Updated: "2021-12-07",
		Tags:    []string{"programming"},
	}
	TicTacToe = Post{
		Path:    "notes/12-tic-tac-toe.html",
		Title:   "Tic Tac Toe",
		Posted:  "2021-12-08",
		Updated: "2021-12-08",
		Tags:    []string{"game", "javascript"},
	}
	PeppersPartFour = Post{
		Path:    "notes/13-peppers-part-four-end-of-a-season.html",
		Title:   "Peppers Part 4: End of A Season",
		Posted:  "2021-12-16",
		Updated: "2023-01-26",
		Tags:    []string{"peppers", "gardening", "ferment"},
	}
	KhaoPiakSen = Post{
		Path:    "notes/14-khao-piak-sen.html",
		Title:   "Khao Piak Sen",
		Posted:  "2022-01-17",
		Updated: "2022-01-17",
		Tags:    []string{"recipe", "soup"},
	}
	LGTM = Post{
		Path:    "notes/15-lgtm.html",
		Title:   "LGTM - A Silly Github Action Written In OCAML",
		Posted:  "2023-07-22",
		Updated: "2023-07-22",
		Tags:    []string{"code", "oss", "ocaml", "fp", "github actions", "whimsical"},
	}
	MusicBackground = Post{
		Path:    "notes/16-music-background.html",
		Title:   "Some Musical Interests",
		Posted:  "2023-07-24",
		Updated: "2023-07-24",
		Tags:    []string{"music"},
	}
	Posts = []Post{
		MusicBackground,
		LGTM,
		KhaoPiakSen,
		PeppersPartFour,
		TicTacToe,
		AlacrittySpawnNewWindow,
		PeppersPartThree,
		CoffeeFromAnOldCoworker,
		ModernFrontendProblems,
		PeppersPartTwo,
		MutableCallArgsInPython,
		PeppersIntro,
		MatchingParens,
		GoodAdvice,
		Ackermann,
		MountainGoat,
		HelloWorld}
)

Functions

This section is empty.

Types

type Post

type Post struct {
	Content template.HTML
	Path    string
	Title   string
	Posted  string
	Updated string
	Tags    []string
}

func (Post) RenderTags

func (p Post) RenderTags() string

Jump to

Keyboard shortcuts

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