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 ++-- blog/en/releases.md | 4 +++- blog/utgivelser.md | 4 +++- 3 files changed, 8 insertions(+), 4 deletions(-) (limited to 'blog') 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 diff --git a/blog/en/releases.md b/blog/en/releases.md index a581d81..3dceb8e 100644 --- a/blog/en/releases.md +++ b/blog/en/releases.md @@ -7,4 +7,6 @@ page-lang: en Here's an overview of our releases: -{% release 2019|2019/NORSKURSKOG-2019_front-cover.jpg %} +{% release 2019|VII|2019/NORSKURSKOG-2019_front-cover.jpg %} + +Info on older releases will come here later. diff --git a/blog/utgivelser.md b/blog/utgivelser.md index b1b1ab1..0537259 100644 --- a/blog/utgivelser.md +++ b/blog/utgivelser.md @@ -7,5 +7,7 @@ page-lang: no Her er en oversikt over utgivelsene vi har gjort i regi av Norsk Urskog. -{% release 2019|2019/NORSKURSKOG-2019_front-cover.jpg %} +{% release 2019|VII|2019/NORSKURSKOG-2019_front-cover.jpg %} + +Informasjon om eldre utgivelser kommer her etter hvert. -- cgit v1.2.3