izumiko / hugo-encrypt Goto Github PK
View Code? Open in Web Editor NEWPort of hugo_encryptor in golang
License: MIT License
Port of hugo_encryptor in golang
License: MIT License
After running password protected pages through this, the Decrypt button that is generated is not actually functioning. I see the SHA hashes being generated on the appropriate pages so I know it's processing the pages correctly, it just won't actually allow a user to decrypt.
When this shortcode is wrapped around other shortcode content, those shortcodes don't get parsed by hugo on build.
If this shortcode could be rewritten in such a way that nested shortcodes get parsed while still remaining hidden and being encrypted by the go script, that would make this a lot more useful.
作者你好。使用工具以后,能正常运行加密,但是无法进行页面的解密处理。另外 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'
Hi, I want to integrate this project into my theme, I'm concerning about the license.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.