Skip to content

Repository files navigation

rfive.ai

R5’s static marketing site powered by Hugo and the LoveIt theme.

Prerequisites

  • Hugo Extended v0.125+
  • Go (for Hugo modules) 1.21+

Local Development

hugo server -D

Then open http://localhost:1313.

Building

hugo --gc --minify

Generated assets land in public/.

Publishing a Blog Article

Create a page bundle for the article:

hugo new content posts/my-article/index.md

Then:

  1. Paste and adapt the LinkedIn post in the generated index.md.
  2. Add a short description for the blog index and search previews.
  3. If the LinkedIn version is public, set linkedinURL to its URL.
  4. Optionally place a cover image named cover.webp in the same folder. PNG and JPEG also work.
  5. Preview unpublished articles with hugo server -D.
  6. Set draft = false, then commit and push the article to publish it.

Article URLs use /blog/<slug>/, and the blog RSS feed is available at /blog/index.xml.

Deployment

GitHub Actions (.github/workflows/gh-pages.yml) builds on pushes to main and publishes the public/ folder to the gh-pages branch for GitHub Pages. A static/CNAME file keeps the custom domain rfive.ai configured.

About

static site for my business

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages