Skip to content

Commit 0bf9795

Browse files
authoredMay 6, 2021
feat: Expose --future and --drafts options (#173)
1 parent 1243751 commit 0bf9795

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎lib/jekyll/commands/algolia.rb

+7
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ def init_with_program(prog)
2424
command.option 'force_settings',
2525
'--force-settings',
2626
'Force updating of the index settings'
27+
command.option 'future',
28+
'--future',
29+
'Index posts with a future date'
30+
command.option 'show_drafts',
31+
'--drafts',
32+
'-D',
33+
'Index posts in the _drafts folder'
2734

2835
command.action do |_, options|
2936
configuration = configuration_from_options(options)

0 commit comments

Comments
 (0)
Failed to load comments.