0

在由Nikola 网站生成器生成的网站上包含 gpg 公钥的最佳方式是什么?

  • 它应该很容易被访问者导入。
  • 渲染页面时,Nikola 不能是键。

编辑:7 个月后,我认为理想的解决方案是使用WKD

4

1 回答 1

1

默认情况下,文件files/夹中的所有文件都将 1:1 复制到输出文件中。因此,如果您使用默认配置:在您的页面上拥有您的公钥,您可以简单地将其存储在files/key.txt其中,它将以https://yourpage.com/key.txt.

在中conf.py您可以找到以下内容:

# One or more folders containing files to be copied as-is into the output.
# The format is a dictionary of {source: relative destination}.
# Default is:
# FILES_FOLDERS = {'files': ''}
# Which means copy 'files' into 'output'```
于 2020-02-28T13:02:20.770 回答