diff --git a/config.rb b/config.rb index ab6ef38..da49bc6 100644 --- a/config.rb +++ b/config.rb @@ -1,5 +1,6 @@ # Activate and configure extensions # https://middlemanapp.com/advanced/configuration/#configuring-extensions +ENV['TZ'] = 'UTC' activate :autoprefixer do |prefix| prefix.browsers = "last 2 versions" @@ -35,9 +36,9 @@ # https://middlemanapp.com/basics/helper-methods/ helpers do - def group_by_month(articles) - articles.group_by do |article| - article.data.date.strftime('%B %Y') + def group_by_month(collection) + collection.values.sort_by { |item| item.date }.group_by do |item| + item.date.strftime('%B %Y') end end end diff --git a/data/events/cryptobeers-in-leuven-coop-wereldcafe.yml b/data/events/cryptobeers-in-leuven-coop-wereldcafe.yml new file mode 100644 index 0000000..a03032c --- /dev/null +++ b/data/events/cryptobeers-in-leuven-coop-wereldcafe.yml @@ -0,0 +1,12 @@ +--- +title: CryptoBeers in Leuven @ COOP Wereldcafé +image: /images/20171123_212403.jpg +location: COOP Wereldcafé +date: 2017-11-30T19:30:28+01:00 +possible_by: Cryptominded.com +organised_by: Bouke +meetup-link: >- + https://www.meetup.com/The-Cryptominded-Meetup-Belgium-Edition/events/245462570/ +City: 'Leuven, BE' +--- +Let’s drink a beer and chat cryptocurrencies over at COOP Wereldcafé in the city center of Leuven. Bring a friend and have a good evening! diff --git a/data/events/cryptobeers-in-london.html.yml b/data/events/cryptobeers-in-london.html.yml new file mode 100644 index 0000000..68d80c4 --- /dev/null +++ b/data/events/cryptobeers-in-london.html.yml @@ -0,0 +1,12 @@ +--- +title: CryptoBeers in London +image: /images/heidi-sandstrom-187259.jpg +location: To be confirmed +date: 2017-12-14T18:30:28+01:00 +possible_by: Cryptominded +organised_by: Barry Leybovich +meetup-link: >- + https://www.meetup.com/The-Cryptominded-Meetup-London-Edition/events/244863174/ +City: 'London, UK' +--- +Whether you're a seasoned crypto-expert or just a beginner, come and have a chat with like-minded enthusiasts and meet some of the Cryptominded team as well! diff --git a/source/index.html.erb b/source/index.html.erb index 711fe2e..c679681 100644 --- a/source/index.html.erb +++ b/source/index.html.erb @@ -11,27 +11,26 @@ title: Cryptobeers -- by Cryptominded