Skip to content

Make taggedfiles configurable so that the source files can be filtered#5

Open
sebokopter wants to merge 1 commit intorantecki:masterfrom
sebokopter:master
Open

Make taggedfiles configurable so that the source files can be filtered#5
sebokopter wants to merge 1 commit intorantecki:masterfrom
sebokopter:master

Conversation

@sebokopter
Copy link

I wanted to have not all files included in my tagcloud. Therefore I made the taggedfiles variable point to a configurable function. The changes are:

  • added config.getTaggedFiles config parameter
  • defaults to previous getFiles function call
  • declared plugin variable for reference in getTaggedFiles function call
  • replaced docpad.getFiles with config.getTaggedFiles.call
  • added list entry for getTaggedFiles in README.md

- added config.getTaggedFiles config parameter
- defaults to previous getFiles function call
- declared plugin variable for reference in getTaggedFiles function call
- replaced docpad.getFiles with config.getTaggedFiles.call
- added list entry for getTaggedFiles in README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant