This repository contains the source code for the ComoCamp website, built using the Hugo static site generator. The website serves as the central hub for information about the Collaborative Modeling Camp, including event details, participation, sponsors, and more.
archetypes/
: Default content templates for Hugo.content/
: Markdown files for the website's content, organized by sections such ascommunity
,camp
,participation
, etc.layouts/
: Custom HTML templates for rendering the website, including partials likeheader.html
andfooter.html
.static/
: Static assets like images, CSS, and JavaScript files.resources/
: Generated resources, such as resized images.config.toml
: Hugo configuration file for site settings..editorconfig
: Editor configuration for consistent coding styles..gitignore
: Specifies files and directories to ignore in version control.
- Dynamic Sections: The website is modular, with sections like "Community," "Sponsors," and "FAQs" dynamically rendered based on Hugo's configuration.
- Responsive Design: Built with Bootstrap for mobile-friendly layouts.
- Custom Styling: Includes custom CSS for branding and design consistency.
- SEO-Friendly: Automatically generates
robots.txt
and supports metadata for social sharing.
- Hugo (version 0.142.0, not yet compatible with 0.1.46.0 or higher)
- Node.js (optional, for managing additional dependencies)
-
Clone the repository:
git clone https://github.com/your-repo/comocamp.git cd comocamp
-
Install Hugo: Follow the Hugo installation guide.
-
Run the development server:
hugo server # command to rebuild all, open browser and navigate to changed # https://gohugo.io/commands/hugo_server/ hugo server -D --cleanDestinationDir --printPathWarnings --disableFastRender -O --navigateToChanged
-
Open your browser and navigate to
http://localhost:1313
.
The website is configured for deployment to https://comocamp.org/
. To build the site for production, run:
hugo
The generated files will be located in the public/
directory.
Contributions are welcome! Please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Submit a pull request with a detailed description of your changes.
This project is licensed under the MIT License.
- BootstrapMade: For the design template.
- Hugo: For the static site generator.
For questions or feedback, contact us at [email protected].