mirror of https://git.jolheiser.com/ugit.git
jolheiser
c33dfdc42a
Signed-off-by: jolheiser <john.olheiser@gmail.com> |
||
---|---|---|
.. | ||
markup | ||
base.templ | ||
base_templ.go | ||
generate.css | ||
generate.go | ||
index.templ | ||
index_templ.go | ||
readme.templ | ||
readme_templ.go | ||
repo.templ | ||
repo_breadcrumb.templ | ||
repo_breadcrumb_templ.go | ||
repo_commit.templ | ||
repo_commit_templ.go | ||
repo_file.templ | ||
repo_file_templ.go | ||
repo_log.templ | ||
repo_log_templ.go | ||
repo_refs.templ | ||
repo_refs_templ.go | ||
repo_search.templ | ||
repo_search_templ.go | ||
repo_templ.go | ||
repo_tree.templ | ||
repo_tree_templ.go | ||
tailwind.config.js | ||
tailwind.go |
readme.templ
package html type ReadmeComponentContext struct { Markdown string } templ readmeComponent(rcc ReadmeComponentContext) { if rcc.Markdown != "" { <div class="bg-base dark:bg-base/50 p-5 mt-5 rounded markdown">@templ.Raw(rcc.Markdown)</div> } }