package main templ HeadComponent(title string, description string) {
{ blog.Desc }
} } templ Link(href string, newTab bool) { { children... } } templ TerminalStack(joined bool, extra string) {{ tag.Name }
}
for _, link := range project.Links {
@IconLink(link.URL, link.Label, "") {
@link.Icon
}
}
{ project.Desc }
if len(flagship.Downloads) > 0 || flagship.Version != "" {{ flagship.Version }
// changelog
}
}
templ DownloadButton(download Download) {
if download.Enabled {
@IconArchive("text-(--secondary)")
} else {
@IconArchive("text-(--alt)")
}
{ download.Label }
if download.Size != "" {
{ download.Size }
}
}
templ IconArchive(color string) {
@Icon(color) {
{ tag.Name }
}
// for _, tag := range project.Tags {
// { tag }
// }
for _, link := range project.Links {
@IconLink(link.URL, link.Label, "") {
@link.Icon
}
}
{ project.Desc }
$ cd ~{ path }
"{ path[1:] }": No such file or directory (os error 2)
} @TerminalBorder("", "", "") {