No description
Find a file
Kumi 04bede3d3f
Some checks failed
Build and Deploy Hugo Site / build (push) Has been cancelled
fix: update link paths to relative URLs in post listings
Switched from absolute to relative permalinks to ensure more flexible navigation and better support for different environments (clearnet/.onion). This change prevents broken links in environments where the site domain may differ.
2024-07-25 21:14:13 +02:00
.github/workflows feat(ci): add GitHub Actions workflow for Hugo site deploy 2024-07-15 08:43:41 +02:00
archetypes Fix base directory 2024-07-14 23:56:46 -05:00
content feat: add RSS feed template and image field 2024-07-15 10:02:17 +02:00
layouts fix: update link paths to relative URLs in post listings 2024-07-25 21:14:13 +02:00
static feat: add RSS feed template and image field 2024-07-15 10:02:17 +02:00
themes/hugo-rottenwheel feat: add RSS feed template and image field 2024-07-15 10:02:17 +02:00
.gitignore Fix base directory 2024-07-14 23:56:46 -05:00
.hugo_build.lock Fix base directory 2024-07-14 23:56:46 -05:00
hugo.toml chore: update blog title and simplify homepage layout 2024-07-15 08:41:18 +02:00
LICENSE add: GPLv3 license file 2024-07-15 07:14:16 +00:00
README.md readme: add license section 2024-07-15 07:19:59 +00:00

rottenblog

This is the source code for rottenblog. It is a static site generated using Hugo.

Getting Started

Prerequisites

  • Hugo installed on your machine.

Installation

  1. Clone the repository:

    git clone https://github.com/rottenwheel/hugo-rottenwheel.git
    cd hugo-rottenwheel
    
  2. Run the Hugo server:

    hugo server
    
  3. Open your browser and visit http://localhost:1313 to see the site.

Deployment

If you use GitHub, this repository comes with a GitHub Actions workflow that automatically builds and deploys the site to the pages branch whenever you push changes to the main branch.

Otherwise, you can build the site manually:

hugo --minify

The generated site will be in the public/ directory.

Adding a New Post

  1. Create a new Markdown file in the content/posts/ directory:

    hugo new posts/my-new-post.md
    
  2. Edit the new post file to add your content.

    ---
    title: "My New Post"
    date: 2024-07-15
    ---
    
    # My New Post
    
    This is the content of my new post.
    
  3. Save the file and refresh your browser to see the new post.

Customizing the Homepage

The homepage content and layout can be customized by editing the content/_index.md file and the layouts/index.html template.

  • content/_index.md: Contains the metadata for the homepage.
  • layouts/index.html: Defines the HTML structure and layout for the homepage.

License

Hugo Rottenwheel is released under GNU General Public License v3.0. See LICENSE for more information.