This is the base theme for MedLab Hugo projects. This theme provides a starting point for creating websites using Hugo, a powerful static site generator.
## Table of Contents
- [Getting Started](#getting-started)
- [Development](#development)
- [Content Management](#content-management)
- [GitLab CI/CD](#gitlab-cicd)
## Getting Started
## Development
1. Install Hugo: Follow the instructions on the [Hugo website](https://gohugo.io/getting-started/installing/) to install Hugo on your machine.
2. Clone the repository: Clone this repository to your local machine using Git.
3. Navigate to the project directory: Open a terminal and navigate to the directory where you cloned the repository.
4. Start the Hugo server: Run the following command to start the Hugo server:
```bash
hugo server
```
5. Open your web browser: Open your web browser and go to `http://localhost:1313` to view the website.
## Content Management
1. Add content: Create new Markdown files in the `content` directory to add content to your website. You can create subdirectories to organize your content.
2. Front matter: Each Markdown file should have front matter at the top of the file. The front matter is a YAML block that contains metadata about the page, such as the title, date, and layout. Here is an example of front matter:
```yaml
---
title: "My Page Title"
date: 2023-10-01
layout: "single"
---
```
3. Markdown syntax: Use Markdown syntax to format your content. You can use headings, lists, links, images, and other Markdown features to create your content. For more information on Markdown syntax, see the [Markdown documentation](https://www.markdownguide.org/basic-syntax/).
This project includes automated CI/CD pipelines that handle building and deploying your Hugo site. The pipeline automatically builds your site when changes are pushed to the `publish` branch and deploys it to a Surfer instance.