File: jekyll-optional-front-matter.rb

package info (click to toggle)
ruby-jekyll-optional-front-matter 0.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, trixie
  • size: 60 kB
  • sloc: ruby: 78; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 529 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# frozen_string_literal: true

require "jekyll"
require "jekyll-optional-front-matter/generator"

module JekyllOptionalFrontMatter
  # Case-insensitive array of filenames to exclude. All files must first
  # match the config-defined list of markdown extensions. If you'd like one
  # of these files included in your site, simply add YAML front matter to it.
  FILENAME_BLACKLIST = %w(
    README
    LICENSE
    LICENCE
    COPYING
    CODE_OF_CONDUCT
    CONTRIBUTING
    ISSUE_TEMPLATE
    PULL_REQUEST_TEMPLATE
  ).freeze
end