A Hugo-based website for Idyllic Ragdoll Cattery, built with the Vex Hugo theme. This website showcases ragdoll cats, kings, queens, kittens, and provides contact information for potential adopters.
Before you can run this website locally, you need to install:
- Hugo (Extended version) - Installation Guide
- Git - Download Git
git clone https://github.com/your-username/idyllic-ragdoll.git
cd idyllic-ragdollIf the theme is included as a submodule, run:
git submodule update --init --recursivemacOS (using Homebrew):
brew install hugoStart the Hugo development server:
hugo serverThe website will be available at: http://localhost:1313
This website supports multiple languages:
- English: http://localhost:1313/
- Chinese: http://localhost:1313/zh/
hugoThis creates a public/ directory with the compiled website.
hugo server -Dhugo server -Fhugo mod cleanidyllic-ragdoll/
├── archetypes/ # Content templates
├── assets/ # CSS, JS, and other assets
├── content/ # Website content
│ ├── english/ # English content
│ ├── chinese/ # Chinese content
│ └── french/ # French content
├── data/ # Data files (homepage content)
├── i18n/ # Internationalization files
├── layouts/ # Hugo templates
├── public/ # Generated website (after build)
├── resources/ # Hugo generated resources
├── static/ # Static files (images, etc.)
├── themes/ # Hugo themes
│ └── vex-hugo/ # Vex Hugo theme
├── config.toml # Main configuration file
└── README.md # This file
- Kittens: Add new kitten profiles in
content/english/kittens/orcontent/chinese/kittens/ - Kings: Add king profiles in
content/english/kings/orcontent/chinese/kings/ - Queens: Add queen profiles in
content/english/queens/orcontent/chinese/queens/
Each content file should include front matter:
---
title: "Kitten Name"
date: 2024-01-15
draft: false
image: "images/kittens/kitten-name.jpg"
description: "Description of the kitten"
---Main configuration is in config.toml. Key settings include:
- Base URL: Set your production URL
- Languages: Configure English, Chinese, and French versions
- Navigation: Customize menu items
- Theme Settings: Logo, colors, and other theme-specific options
Place images in:
static/images/for general imagesstatic/images/kittens/for kitten photosstatic/images/kings/for king photosstatic/images/queens/for queen photos
This website is configured for easy deployment to:
- Netlify: Use the
netlify.tomlconfiguration - GitHub Pages: Build and deploy using GitHub Actions
- Any static hosting: Upload the
public/directory
- Theme not loading: Ensure the theme is properly installed in
themes/vex-hugo/ - Images not showing: Check image paths in content files
- Language switching not working: Verify language configuration in
config.toml
- Check Hugo Documentation
- Review Vex Hugo Theme Documentation
- Check the theme's GitHub Repository