diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2019-04-17 21:14:50 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2019-04-17 21:14:50 +0200 |
commit | cf020beb2111ba02ae3b39aa057034309f431095 (patch) | |
tree | 945bb4f50eb9a594a945daefeb644cfdd8432280 | |
parent | d64cde2afb500402bf5087c52fa6336add8f93e6 (diff) | |
download | norsk-urskog-main-cf020beb2111ba02ae3b39aa057034309f431095.tar.gz norsk-urskog-main-cf020beb2111ba02ae3b39aa057034309f431095.tar.bz2 norsk-urskog-main-cf020beb2111ba02ae3b39aa057034309f431095.zip |
Legg til utgivelsesnummer (vol) for hver utgivelse også.
-rw-r--r-- | blog/_plugins/releases.rb | 4 | ||||
-rw-r--r-- | blog/en/releases.md | 4 | ||||
-rw-r--r-- | blog/utgivelser.md | 4 |
3 files changed, 8 insertions, 4 deletions
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. |