We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c70540c + 8959eec commit 481cb24Copy full SHA for 481cb24
lib/jekyll/theme_drop.rb
@@ -3,17 +3,13 @@
3
module Jekyll
4
module Drops
5
class UnifiedPayloadDrop < Drop
6
- def site
7
- @site_drop ||= JekyllData::ThemedSiteDrop.new(@obj)
8
- end
9
-
10
# Register a namespace to easily call subkeys under <theme-name> key
11
# in the _config.yml within a theme-gem via its bundled templates.
12
# e.g. with this drop, theme-specific variables usually called like
13
# {{ site.minima.date_format }} can be shortened to simply
14
# {{ theme.date_format }}.
15
def theme
16
- @theme_drop ||= site[site.theme.name]
+ @theme_drop ||= site.fallback_data[site.fallback_data["theme"]]
17
end
18
19
0 commit comments