diff --git a/README.md b/README.md index 9091a4f..aee4d07 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,38 @@ # Infidel Cupper -This is infidel's fork version of hugo [Cupper](https://github.com/zwbetz-gh/cupper-hugo-theme) theme +This is infidel's fork version of hugo [Cupper](https://github.com/zwbetz-gh/cupper-hugo-theme) theme. I use this theme for my own site [nnag.me](https://nnag.me). + +## Added Feature + +### Plausible integration + +#### Shortcode + +```go + {{ if and (.Site.Params.plsDomain) (.Site.Params.plsUrl) }} + + {{ end }} + +``` + +#### params + +```yml + ... + params: + plsDomain : + plsUrl : + ... +``` + +### PDF.js + +#### shortcode + +- `layout/shortcodes/embed-pdf.html` + +#### scripts + +- `static/js/pdf.js` +- `static/js/pdf.worker.js` +