Plugin to allow attachments in subdirectories
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Pelican Attachments

Allows page attachments to be hosted outside the static folder alongside articles.

For more information refer to my blog post:

How to use

After installing the module, add attachments metadata tag with a list of files referenced by the article.

From there, continue to use |filename| as per usual.

Files will be output adjacent to the output article file.

Development Status

Buyer beware! This module was developed for personal use and probably contains plenty of bugs and omissions.


This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see