Skip to content

grow/grow-ext-blacklist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grow-ext-blacklist

Simple extension for blacklisting words during builds.

Usage

Initial setup

  1. Create an extensions.txt file within your pod.
  2. Add to the file: git+git://github.com/grow/grow-ext-blacklist
  3. Run grow install.
  4. Add the following section to podspec.yaml:
ext:
- extensions.blacklist.BlacklistExtension:
    blacklist:
    - super-size

When rendering HTML pages Grow will check for the provided regular expressions in the generated content.

Extensions

The configuration can also control which files are checked for blacklisted terms. Defaults to only search .html files.

For example:

ext:
- extensions.blacklist.BlacklistExtension:
    blacklist:
    - super-size
    extensions:
    - .html
    - .js

About

Blacklisting for words in project output.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published