missed a spot
This commit is contained in:
parent
6d8dced5ca
commit
d5747ea69c
1 changed files with 1 additions and 2 deletions
|
@ -4,8 +4,7 @@ class Pages::GoMod < ::Phlex::HTML
|
||||||
@repo = repo
|
@repo = repo
|
||||||
end
|
end
|
||||||
def view_template
|
def view_template
|
||||||
meta = @post[:data].front_matter
|
render ::Pages::Layout.new({title: import}, meta: {
|
||||||
render ::Pages::Layout.new({title: meta['title']}, meta: {
|
|
||||||
"go-import" => "#{import} git #{repo}"
|
"go-import" => "#{import} git #{repo}"
|
||||||
}) {
|
}) {
|
||||||
p {
|
p {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue