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
|
@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."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue