Hugo rottenblog
Find a file
rottenwheel 17800dc17b
Some checks failed
Deploy latest site / deploy (push) Has been cancelled
Merge pull request #11 from recanman/main
chore: update theme
2024-11-11 07:09:26 +00:00
.github/workflows Update deploy.yml 2024-10-07 03:37:59 +00:00
archetypes chore: use consistent front matter format 2024-11-10 22:40:54 -08:00
content post: add banner image to pgp guide 2024-11-06 12:42:23 -06:00
layouts chore: remove old layout, update theme 2024-08-31 22:01:30 -07:00
static images: add rw profile picture 2024-11-09 10:22:16 -06:00
themes chore: update theme 2024-11-10 23:08:13 -08:00
.gitignore Fix base directory 2024-07-14 23:56:46 -05:00
.gitmodules chore(submodules): update rottentheme branch to main 2024-10-21 07:30:57 +02:00
.hugo_build.lock Fix base directory 2024-07-14 23:56:46 -05:00
hugo.toml feat: add footer items and repo to config 2024-09-05 21:51:31 -07:00
LICENSE add: GPLv3 license file 2024-07-15 07:14:16 +00:00
README.md readme: add missing image line to template post 2024-11-04 20:08:24 -06:00

rottenblog

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

Rottentheme is the theme used by rottenblog.

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
    image: "/images/2.jpg"
    ---
    
    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.