umpteenth time's the charm

This commit is contained in:
Aleks Rūtiņš 2025-02-14 03:19:26 +00:00
parent d5747ea69c
commit f6c113102d

View file

@ -4,14 +4,14 @@ class Pages::GoMod < ::Phlex::HTML
@repo = repo @repo = repo
end end
def view_template def view_template
render ::Pages::Layout.new({title: import}, meta: { render ::Pages::Layout.new({title: @import}, meta: {
"go-import" => "#{import} git #{repo}" "go-import" => "#{@import} git #{@repo}"
}) { }) {
p { p {
h1 { @import } h1 { @import }
p { p {
plain "This is a generated page to host the Go module located at " plain "This is a generated page to host the Go module located at "
a(href: repo) { repo } a(href: @repo) { @repo }
plain ". You'll probably find more information about it over there." plain ". You'll probably find more information about it over there."
} }
} }