Go to file
2022-04-10 20:36:00 +07:00
.github/ISSUE_TEMPLATE first commit 2022-04-10 15:20:41 +07:00
archetypes first commit 2022-04-10 15:20:41 +07:00
assets removed unecessary font fetch 2022-04-10 20:36:00 +07:00
data first commit 2022-04-10 15:20:41 +07:00
exampleSite first commit 2022-04-10 15:20:41 +07:00
i18n first commit 2022-04-10 15:20:41 +07:00
images first commit 2022-04-10 15:20:41 +07:00
layouts desc changed to h3, navtitle change to h2 2022-04-10 17:44:49 +07:00
static redirect js fetch on shortcode 2022-04-10 16:58:44 +07:00
.gitignore first commit 2022-04-10 15:20:41 +07:00
LICENSE first commit 2022-04-10 15:20:41 +07:00
local_git_config.sh first commit 2022-04-10 15:20:41 +07:00
netlify.toml first commit 2022-04-10 15:20:41 +07:00
README.md Updated readme and open repo to public 2022-04-10 18:00:10 +07:00
task_regen_toc.sh first commit 2022-04-10 15:20:41 +07:00
task_serve.sh first commit 2022-04-10 15:20:41 +07:00
theme.toml first commit 2022-04-10 15:20:41 +07:00

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