Metadata in PDF files can be stored in at least two places:
- the Info Dictionary, a limited set of key/value pairs
- XMP packets, which contain RDF statements expressed as XML
# ./my-blog/plugins/pages_filter.rb | |
module PagesFilter | |
# Filter pages by custom prefix. | |
# The prefix string is compared against the id which is the relative filepath. | |
# This enables sub-directory filtering. | |
# Example: | |
# <ul> | |
# {{# docs.filter.2/widgets/ }} | |
# <li>{{ title }}</li> |