From f6c113102d7339bd1856f1edef4d71d0d60ae0fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleks=20R=C5=ABti=C5=86=C5=A1?= Date: Fri, 14 Feb 2025 03:19:26 +0000 Subject: [PATCH] umpteenth time's the charm --- pages/gomod.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/gomod.rb b/pages/gomod.rb index d249f47..40c19d8 100644 --- a/pages/gomod.rb +++ b/pages/gomod.rb @@ -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." } }