Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

加密后页面无法解密 #4

Closed
Kabochar opened this issue Apr 26, 2021 · 1 comment
Closed

加密后页面无法解密 #4

Kabochar opened this issue Apr 26, 2021 · 1 comment

Comments

@Kabochar
Copy link

作者你好。使用工具以后,能正常运行加密,但是无法进行页面的解密处理。另外 hugo-encrypt.html 上使用 i18n 异常。文本内容无法正确实现。是否在哪个环节操作错误?

运行环境

go version:1.14.12 windows/amd64
hugo version:v0.82.1-60618210+extended

运行命令:hugo --cleanDestinationDir --gc && hugo-encrypt -sitePath ./public

运行结果

$ hugo --cleanDestinationDir --gc && hugo-encrypt -sitePath ./public
Start building sites …

                   | EN
-------------------+------
  Pages            | 109
  Paginator pages  |  20
  Non-page files   |   0
  Static files     |  22
  Processed images |   0
  Aliases          |  11
  Sitemaps         |   1
  Cleaned          |   0

Total in 534 ms
Processing public\post\ff78fa4d\index.html, 0
SHA1: 8c 55 34 2a e3 1c 07 f8 9f 75 01 a3 9d 81 85 69 24 a6 a8 39

config.toml HugoEncrypt 配置

[params.HugoEncrypt]
    Password = "123"
    Storage = "local"	# or 'local'
@Izumiko
Copy link
Owner

Izumiko commented Jun 10, 2021

方便提供一份测试用的数据吗?我在这边生成一下你的网站看看

@Izumiko Izumiko closed this as completed May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants