Welcome to noctra
featured.jpg in this post’s folder.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:
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"))
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.