umpteenth time's the charm
This commit is contained in:
parent
d5747ea69c
commit
f6c113102d
1 changed files with 3 additions and 3 deletions
|
@ -4,14 +4,14 @@ class Pages::GoMod < ::Phlex::HTML
|
|||
@repo = repo
|
||||
end
|
||||
def view_template
|
||||
render ::Pages::Layout.new({title: import}, meta: {
|
||||
"go-import" => "#{import} git #{repo}"
|
||||
render ::Pages::Layout.new({title: @import}, meta: {
|
||||
"go-import" => "#{@import} git #{@repo}"
|
||||
}) {
|
||||
p {
|
||||
h1 { @import }
|
||||
p {
|
||||
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."
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue