Skip to content

nostr-resources/v2

Repository files navigation

nostr-resources v2

The next version of nostr-resources.com — rebuilt with Hugo and Tailwind CSS.

Stack

  • Hugo (extended) — static site generator
  • Tailwind CSS (standalone CLI) — styling, no Node.js required
  • GitHub Actions — build and deploy to GitHub Pages

Local Development

# Install Hugo: https://gohugo.io/installation/
# Install Tailwind standalone CLI: https://tailwindcss.com/blog/standalone-cli

# Build CSS + site
make build

# Dev server with live reload
make serve

i18n

Content lives in content/<lang>/. UI strings live in i18n/<lang>.yaml.

Currently supported: English (en), German (de).

Adding a translation

  1. Copy content/en/_index.md to content/<lang>/_index.md
  2. Translate the content
  3. Copy i18n/en.yaml to i18n/<lang>.yaml and translate UI strings
  4. Add the language to hugo.yaml under languages:
  5. Open a PR

License

MIT

About

nostr-resources.com v2 — Hugo + Tailwind, i18n-ready

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors