Home

ugit @6772b2efe481871d77e1a2a6081ef9b0efb9779b - refs - log -
-
https://git.jolheiser.com/ugit.git
The code powering this h*ckin' site
ugit / internal / html / readme.templ
- raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
package html

type ReadmeComponentContext struct {
    Markdown string
}

templ readmeComponent(rcc ReadmeComponentContext) {
	<div class="bg-base dark:bg-base/50 px-5 rounded markdown">@templ.Raw(rcc.Markdown)</div>
}