.github/ISSUE_TEMPLATE | ||
archetypes | ||
assets | ||
data | ||
exampleSite | ||
i18n | ||
images | ||
layouts | ||
static | ||
.gitignore | ||
LICENSE | ||
local_git_config.sh | ||
netlify.toml | ||
README.md | ||
task_regen_toc.sh | ||
task_serve.sh | ||
theme.toml |
Infidel Cupper
This is infidel's fork version of hugo Cupper theme. I use this theme for my own site nnag.me.
Added Feature
Plausible integration
Shortcode
{{ if and (.Site.Params.plsDomain) (.Site.Params.plsUrl) }}
<script defer data-domain="{{.Site.Params.plsDomain}}" src="{{.Site.Params.plsUrl | relURL}}"></script>
{{ end }}
params
...
params:
plsDomain : <Your Domain>
plsUrl : <Your Plausible script url>
...
PDF.js
shortcode
layout/shortcodes/embed-pdf.html
scripts
static/js/pdf.js
static/js/pdf.worker.js