Skip to main content

Welcome to noctra

·2 mins
Placeholder featured image showing the noctra wordmark on a dark background
Placeholder featured image — replace featured.jpg in this post’s folder.
First post. It exists to prove the toolchain end-to-end — Hugo Extended + Congo, dark mode, page-bundle images, syntax highlighting, and native video embeds.

This blog runs on the Hugo static site generator with the Congo theme. Everything below is placeholder content you can delete once you’ve confirmed it renders.

Images #

This post is a page bundle (a folder with an index.md), so any image dropped beside it is processed by Hugo and lazy-loaded by Congo. Here’s the inline placeholder:

Placeholder network diagram on a dark background
A placeholder diagram resource from this page bundle

The cover image at the top of the article is the featured.jpg file in this same folder — Congo detects any image whose name contains feature automatically.

Syntax highlighting #

A quick host sweep in Bash:

#!/usr/bin/env bash
# Ping-sweep a /24 and print live hosts
subnet="192.168.1"
for host in $(seq 1 254); do
  ip="${subnet}.${host}"
  (ping -c1 -W1 "$ip" &>/dev/null && echo "[+] up: $ip") &
done
wait

The same idea — hashing a file in Python:

import hashlib
from pathlib import Path


def sha256(path: str, chunk: int = 8192) -> str:
    h = hashlib.sha256()
    with Path(path).open("rb") as f:
        for block in iter(lambda: f.read(chunk), b""):
            h.update(block)
    return h.hexdigest()


if __name__ == "__main__":
    print(sha256("/etc/hostname"))
These snippets are illustrative placeholders. Only run security tooling against systems you are explicitly authorised to test.

Video embeds #

Congo uses Hugo’s built-in shortcodes for video — no large files committed to the repo. YouTube needs only the video ID:

And Vimeo likewise:

That’s the whole smoke test. Edit or delete this post, then write your own.

Author
noctra