Skip to content

Operations

7 pages
  • Troubleshooting

    In Operations

    Operations

    If a problem occurs, first run a clean production build. Read the first error. Later errors usually result from it: Terminal rm -rf public resources/_gen hugo --gc --minify --printPathWarnings --logLevel info If the log includes an npm, PostCSS, …

    If a problem occurs, first run a clean production build. Read the first error. Later errors usually result from it: Terminal rm -rf public resources/_gen hugo --gc --minify --printPathWarnings --logLevel info If the log includes an npm, PostCSS, …

  • Operations

    In Operations

    Operations

    Use this section after you write the content. Preview the site locally, build and deploy the output, configure comments and analytics, track theme versions, and diagnose problems. The previous five sections describe the site’s appearance and content. …

    Use this section after you write the content. Preview the site locally, build and deploy the output, configure comments and analytics, track theme versions, and diagnose problems. The previous five sections describe the site’s appearance and content. …

  • Upgrade

    In Operations

    Operations

    To upgrade OINK, change the pinned module version. Then confirm that the site builds with reviewed diagnostics. Most content needs no changes. To convert 0.4 shortcodes to current native Markdown forms, use the migration tool. It starts with a dry …

    To upgrade OINK, change the pinned module version. Then confirm that the site builds with reviewed diagnostics. Most content needs no changes. To convert 0.4 shortcodes to current native Markdown forms, use the migration tool. It starts with a dry …

  • Analytics and SEO

    In Operations

    Operations

    By default, the theme loads no analytics, form, or advertising script. It makes no outbound request until you configure one. You must explicitly configure each integration. Document this external data boundary in the site’s privacy statement. The …

    By default, the theme loads no analytics, form, or advertising script. It makes no outbound request until you configure one. You must explicitly configure each integration. Document this external data boundary in the site’s privacy statement. The …

  • Comments

    In Operations

    Operations

    OINK uses giscus for comments. Each page maps to one GitHub Discussion. Readers sign in with a GitHub account to post comments. Maintainers moderate comments in GitHub Discussions. The theme has no comment backend of its own. It bundles only giscus. …

    OINK uses giscus for comments. Each page maps to one GitHub Discussion. Readers sign in with a GitHub account to post comments. Maintainers moderate comments in GitHub Discussions. The theme has no comment backend of its own. It bundles only giscus. …

  • Deploy

    In Operations

    Operations

    An OINK site produces a plain static directory. You can deploy it to any host that serves static files. It requires no Node runtime, server-side rendering, or build plugin. On the host, run one command with the correct Hugo version. Publish public/ …

    An OINK site produces a plain static directory. You can deploy it to any host that serves static files. It requires no Node runtime, server-side rendering, or build plugin. On the host, run one command with the correct Hugo version. Publish public/ …

  • Local preview

    In Operations

    Operations

    Use hugo server to preview local changes. Use hugo to produce a public/ directory that you can deploy to any static host. Install Hugo Extended (0.168.0 or newer) on the machine. If you install the theme as a Hugo Module, also install Go. The build …

    Use hugo server to preview local changes. Use hugo to produce a public/ directory that you can deploy to any static host. Install Hugo Extended (0.168.0 or newer) on the machine. If you install the theme as a Hugo Module, also install Go. The build …