Skip to content

Commit

Permalink
expose license always
Browse files Browse the repository at this point in the history
  • Loading branch information
hexylena committed Feb 13, 2024
1 parent 67d35f7 commit 960cd8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _plugins/jekyll-topic-filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ def self.resolve_material(site, material)
page_obj['translations']['tutorial'] = tutorial_translations
page_obj['translations']['slides'] = slide_translations
page_obj['translations']['video'] = slide_has_video # Just demand it?
page_obj['license'] = 'CC-BY-4.0' if page_obj['license'].nil?
# I feel less certain about this override, but it works well enough in
# practice, and I did not find any examples of `type: <anything other
# than tutorial>` in topics/*/tutorials/*/tutorial.md but that doesn't
Expand Down

0 comments on commit 960cd8d

Please sign in to comment.