Skip to content

Commit

Permalink
Generate standings
Browse files Browse the repository at this point in the history
  • Loading branch information
captn3m0 committed May 10, 2024
1 parent b256f76 commit f709191
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 65 deletions.
15 changes: 3 additions & 12 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
source "https://rubygems.org"
gem "jekyll", "~> 4.3.2"
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo", ">= 1", "< 3"
gem "tzinfo-data"
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]

# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
# do not have a Java counterpart.
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
group :jekyll_plugins do
gem "jekyll-datapage-generator"
end
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ GEM
safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-datapage-generator (1.4.0)
jekyll-sass-converter (3.0.0)
sass-embedded (~> 1.54)
jekyll-watch (2.2.1)
Expand Down Expand Up @@ -68,6 +69,7 @@ PLATFORMS
DEPENDENCIES
http_parser.rb (~> 0.6.0)
jekyll (~> 4.3.2)
jekyll-datapage-generator
tzinfo (>= 1, < 3)
tzinfo-data
wdm (~> 0.1.1)
Expand Down
12 changes: 12 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ description: >- # this means to ignore newlines until "baseurl:"
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://blr.puzzzledpint.com" # the base hostname & protocol for your site, e.g. http://example.com
github_username: PuzzledPintBLR
plugins:
- jekyll-datapage-generator
links:
- url: https://chat.whatsapp.com/GcrT3z5uOYY57AJxolMj7I
icon: whatsapp
Expand Down Expand Up @@ -41,3 +43,13 @@ links:
text: GitHub
button: github
icon: github

page_gen-dirs: true
page_gen:
- data: events
template: standings
dir: standings
name_expr: record['date'].strftime('%Y-%m')
title_expr: record['date'].strftime("%B %Y")
page_data_prefix: event
# debug: true
27 changes: 18 additions & 9 deletions _data/colors.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
- "#00D2BE"
- "#DC0000"
- "#1E41FF"
- "#FFF500"
- "#F596C8"
- "#9B0000"
- "#469BFF"
- "#BD9E57"
- "#FF8700"
- "#e6194B"
- "#3cb44b"
- "#ffe119"
- "#4363d8"
- "#f58231"
- "#911eb4"
- "#42d4f4"
- "#f032e6"
- "#bfef45"
- "#fabed4"
- "#469990"
- "#dcbeff"
- "#9A6324"
# - "#fffac8" Beige
- "#800000"
- "#aaffc3"
- "#808000"
- "#000075"
10 changes: 1 addition & 9 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,10 @@
<title>{{page.title}}</title>
<meta name="description" content="{{site.description}}">
<meta name="author" content="{{site.author}}">

<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="stylesheet" href="/css/normalize.css">

<!-- Themes:
Auto: css/skeleton-auto.css
Light: css/skeleton-light.css
Dark: css/skeleton-dark.css
-->
<link rel="stylesheet" href="/css/skeleton-auto.css">

<link rel="stylesheet" href="/css/brands.css">

<link rel="icon" type="image/png" href="/images/favicon.png">
Expand All @@ -28,4 +20,4 @@
{{content}}
</body>

</html>
</html>
7 changes: 0 additions & 7 deletions standings-december.html

This file was deleted.

7 changes: 0 additions & 7 deletions standings-february.html

This file was deleted.

7 changes: 0 additions & 7 deletions standings-january.html

This file was deleted.

7 changes: 0 additions & 7 deletions standings-march.html

This file was deleted.

7 changes: 0 additions & 7 deletions standings-november.html

This file was deleted.

0 comments on commit f709191

Please sign in to comment.