package web import "net/http" import "strings" import "time" import "git.arav.su/Arav/dwelling-home/pkg/mindflow" import "git.arav.su/Arav/dwelling-home/pkg/util" templ Mindflow(posts []mindflow.Post, categories []mindflow.Category, r *http.Request) { @base("Mindflow", "Updates on my infrastructure, my very important opinions and thoughts.", "updates, thoughts, opinions, blog, diary", "/mindflow", mindflowHead()) {

Here I post updates on websites and infrastructure, my very important opinions and thoughts no one asked for. If you'd like to subscribe to this bullshittery then RSS feed at your service. :)

for _, post := range posts {

{ post.Category.Name }: { post.Title }

for _, line := range strings.Split(post.Body, "\n") { if len(line) > 0 && line[0] == '>' {

{ line }

} else {

{ line }

} }
} if len(posts) == 0 {

Nothing? There must be some... Looks like database went down.

}
} } templ mindflowHead() { }