noJS HUGO theme

A minimal, no-JavaScript theme for the Hugo static site generator

Active Pure Nim score 65/100 · last commit 2026-07-12 · 2 stars · tests present · no docs generated

Summary

Latest Version Unknown
License Unknown
CI Status Failing
Stars 2
Forks 2
Open Issues 0
Last Commit 2026-07-12
Downloads 0
Last Indexed 2026-07-22 05:35

Installation

nimble install noJS HUGO theme
choosenim install noJS HUGO theme
git clone https://gitlab.com/andy.sb/nojs

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
noJS HUGO theme - - - - - - -

Source

Repository https://gitlab.com/andy.sb/nojs
Homepage https://gitlab.com/andy.sb/nojs
Registry Source gitlab

README

noJS Hugo theme

A minimal, no-JavaScript theme for the Hugo static site generator. Check out the demo at nojs.andy.sb.

noJS theme screenshot

Features

Installation

For more information read the official quick start guide of Hugo.

In your themes/ directory, run:

git clone https://git.andy.sb/nojs.git

Set the theme in hugo.toml at the base of the Hugo site:

theme = "nojs"

Add menu entries:

[menus]
  [[menus.main]]
    name = 'Home'
    pageRef = '/'
    weight = 1

  [[menus.main]]
    name = 'Posts'
    pageRef = '/posts'
    weight = 2

  [[menus.main]]
    name = 'Tags'
    pageRef = '/tags'
    weight = 3

Image captions

You can add captions to images (technically using <figcaption> HTML tags) by adding titles, like so:

![Alt text here](/path/to/image.png "Put your caption here!")

Syntax highlighting

Disable noClasses to use this modified algol_nu theme.

[markup]
  [markup.highlight]
    noClasses = false

LaTeX via transform.ToMath

Instead of client-side JavaScript rendering of mathematical markup using MathJax or KaTeX, use this passthrough render hook which calls the transform.ToMath function.

[markup]
  [markup.goldmark]
    [markup.goldmark.extensions]
      [markup.goldmark.extensions.passthrough]
        enable = true
        [markup.goldmark.extensions.passthrough.delimiters]
          block = [['\[', '\]'], ['$$', '$$']]
          inline = [['\(', '\)']]

Now add some mathematical markup to your content.

Calculate the cohomology \(H^n(C;G)\) using the _universal coefficient theorem_:

\[H^n(C;G) \cong \operatorname{Ext}(H_{n-1}(C),G) \oplus \operatorname{Hom}(H_n(C),G)\]

Note that the external katex.css is loaded in the head.html partial.