diff options
Diffstat (limited to '_plugins')
-rw-r--r-- | _plugins/wkd.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/_plugins/wkd.rb b/_plugins/wkd.rb index 366a092..02b2402 100644 --- a/_plugins/wkd.rb +++ b/_plugins/wkd.rb @@ -11,6 +11,8 @@ module Gentoo WKD_DIR = '.well-known/openpgpkey/' def generate(site) + return if site.data['userinfo'].nil? + # WKD uses z-Base32; replace the alphabet since the standard # Base32 module supports that and the zBase32 modules are hard to get Base32.table = 'ybndrfg8ejkmcpqxot1uwisza345h769' |