From cf020beb2111ba02ae3b39aa057034309f431095 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Wed, 17 Apr 2019 21:14:50 +0200 Subject: =?UTF-8?q?Legg=20til=20utgivelsesnummer=20(vol)=20for=20hver=20ut?= =?UTF-8?q?givelse=20ogs=C3=A5.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blog/_plugins/releases.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'blog/_plugins/releases.rb') diff --git a/blog/_plugins/releases.rb b/blog/_plugins/releases.rb index b9f71b5..f858007 100644 --- a/blog/_plugins/releases.rb +++ b/blog/_plugins/releases.rb @@ -6,8 +6,8 @@ module Jekyll class ReleaseTag < Liquid::Tag def initialize(tag, text, context) super - @year, thumbnail = text.split('|').map(&:strip) - @title = "Norsk Urskog Metal Sampler, #{@year}" + @year, vol, thumbnail = text.split('|').map(&:strip) + @title = "Norsk Urskog Metal Sampler, Vol #{vol} #{@year}" @thumbnail = Assets::Liquid::Tag.new('img', "#{thumbnail} magick:resize:400x alt:\"#{@title} cover\"", context) end -- cgit v1.2.3