Lol

@fbievan

aww >3

@amin he said 'aww'

@fbievan

oops I reversed the heart <3

@fbievan

I did enough HTML programming in the last couple days that I tried to HTML entify the < in <3, and I mixed up which it was. 😄

@amin man imgaine writing HTML

@fbievan

Hey, it was for the podcast. XML and JSON, too.

The podcast site and feed are built using a static site generator.

@amin which one?

@fbievan

Lume, which I use for my other sites.

@amin I LOVE HUGO

@fbievan

I can't wrap my head around Go templates.

@fbievan

And I refuse to use a theme someone else made. ;)

@amin you don't, you create your own

@fbievan

I know, but that requires Go templates which as I mentioned I can't wrap my brain around.

@amin its not _that_ hard cmon :-)

@fbievan

What even is "."

@amin its a full stop

@fbievan

in go templates I mean

@amin wdym
@amin provide an example
polyring/templates/index.html at main

polyring - A webring for polymaths

Codeberg.org
@amin

oh thats going to refer to the current context

@fbievan

what even does that mean

@amin basically you have a context (which is a page), in most cases this is going to be a "page" object...

it's just referring to its own page object


most of the time you aren't going to refer to this in this way

@fbievan

…okay. ;)

@amin its NOT THAT COMPLICATED WHEN YOU START CODING

@fbievan

I tried.

@amin what went wrong?

@fbievan

it's too distracting from actually writing code

@amin i just write HTML then write logic ontop of the HTML

@amin I havent written any hugo themes since writing for hugo-theme-readable, so erm i haven't written in a while man
@amin if you want to see some examples of what i wrote:

https://git.fbievan.live/fbievan/hugo-theme-readable/commits/branch/main

pretty simple tbh
hugo-theme-readable

hugo-theme-readable

Fbi's Epic Forge
@amin THIS MADE ME REALIZE I NEED TO RECOMPILE https://testing.fbievan.live, because i haven't compiled since last year
Fbi's Epic Blog

@amin look at the copyright date at the bottom, lol

@fbievan

In other templating systems I've used, templates are compiled(ish) into functions, which you pass parameters to and return the finished text.

@amin im not sure exactly what dunsm is doing here though

@fbievan

"." seems to have a special meaning.