package web import "net/http" import "strings" import "time" import "github.com/invopop/ctxi18n/i18n" 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(i18n.T(ctx, "base.section.mindflow"), "Updates on my infrastructure, my very important opinions and thoughts.", "updates, thoughts, opinions, blog, diary", "/mindflow", r, 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") {

0 && line[0] == '>' { class="quote" }>@templ.Raw(line)

}
} if len(posts) == 0 {

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

}
} } templ mindflowHead() { }