I have a folder _projects that contains various files for projects I've worked on: markdown, html, js, images, etc. It is defined as a jekyll collection in config.yml.
jekyll-gemini does not ignore non-.gmi files in this directory. Here is output of it barfing on a .md file in my collection
〉bundle exec jekyll gemini --verbose
Logging at level: debug
Jekyll Version: 4.3.2
Configuration file: $MASKED_DIR/_config.yml
Requiring: jekyll-feed
Requiring: jekyll-paginate
Source: $MASKED_DIR/lizsugar.me
Destination: $MASKED_DIR/_capsule
Incremental build: disabled. Enable with --incremental
Generating...
Reading: /_gemini_layouts/about.gmi
Reading: /_gemini_layouts/default.gmi
Reading: /_gemini_layouts/home.gmi
Reading: /_gemini_layouts/post.gmi
Reading: /_gemini_layouts/project.gmi
[ CUT FOR BREVITY ]
Rendering: _posts/2023-06-20-jekyll-and-gemini.gmi
Pre-Render Hooks: _posts/2023-06-20-jekyll-and-gemini.gmi
Rendering Markup: _posts/2023-06-20-jekyll-and-gemini.gmi
Post-Convert Hooks: _posts/2023-06-20-jekyll-and-gemini.gmi
Rendering Layout: _posts/2023-06-20-jekyll-and-gemini.gmi
Rendering: _posts/2023-06-21-test-post.gmi
Pre-Render Hooks: _posts/2023-06-21-test-post.gmi
Rendering Liquid: _posts/2023-06-21-test-post.gmi
Rendering Markup: _posts/2023-06-21-test-post.gmi
Post-Convert Hooks: _posts/2023-06-21-test-post.gmi
Rendering Layout: _posts/2023-06-21-test-post.gmi
Rendering: _projects/hass/slider-button-card.gmi
Pre-Render Hooks: _projects/hass/slider-button-card.gmi
Rendering Markup: _projects/hass/slider-button-card.gmi
Post-Convert Hooks: _projects/hass/slider-button-card.gmi
Rendering Layout: _projects/hass/slider-button-card.gmi
Rendering: _projects/pico-8/lab-trouble/index.md
-------------------------------------------------
Jekyll 4.3.2 Please append `--trace` to the `gemini` command
for any additional information or backtrace.
-------------------------------------------------
C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:228:in `assign_highlighter_options!': undefined method `highlighter_prefix' for nil:NilClass (NoMethodError)
payload["highlighter_prefix"] = converters.first.highlighter_prefix
^^^^^^^^^^^^^^^^^^^
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.2/lib/jekyll/renderer.rb:57:in `run'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:572:in `render_regenerated'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:557:in `block (2 levels) in render_docs'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:556:in `each'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:556:in `block in render_docs'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:555:in `each_value'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:555:in `render_docs'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:210:in `render'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.2/lib/jekyll/site.rb:80:in `process'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.2/lib/jekyll/command.rb:28:in `process_site'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-gemini-0.1.0/lib/jekyll_gemini/command.rb:44:in `build'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-gemini-0.1.0/lib/jekyll_gemini/command.rb:30:in `process'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.2/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.2/lib/jekyll/command.rb:91:in `each'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.2/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-gemini-0.1.0/lib/jekyll_gemini/command.rb:15:in `block (2 levels) in init_with_program'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.3.2/exe/jekyll:15:in `<top (required)>'
from C:/Ruby31-x64/bin/jekyll:25:in `load'
from C:/Ruby31-x64/bin/jekyll:25:in `<main>'
I have a folder
_projectsthat contains various files for projects I've worked on: markdown, html, js, images, etc. It is defined as a jekyll collection in config.yml.jekyll-gemini does not ignore non-.gmi files in this directory. Here is output of it barfing on a .md file in my collection