From c450546d87cc25adf436f51baef1797a045c8a74 Mon Sep 17 00:00:00 2001 From: David Todd Date: Mon, 27 May 2019 01:54:27 -0500 Subject: [PATCH] Add encrypt config --- pelican/pelicanconf.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pelican/pelicanconf.py b/pelican/pelicanconf.py index 3d6e7a3..a37e4dd 100644 --- a/pelican/pelicanconf.py +++ b/pelican/pelicanconf.py @@ -34,3 +34,10 @@ DEFAULT_PAGINATION = 20 USE_FOLDER_AS_CATEGORY = True # Use directories in content to specify the category DEFAULT_CATEGORY = 'none' + +PLUGINS = ['encrypt_content'] + +ENCRYPT_CONTENT = { + 'title_prefix': '[Encrypted]', + 'summary': 'This content is encrypted and requires a password to unlock' +}