Skip to content

oliverlabs/oliverlabs.github.io

Repository files navigation

👨‍💻 oliverlabs blog

This repository hosts the source code for my personal blog. It is powered by Hugo and PaperMod.

You can access the website at: https://oliverlabs.co.uk/.

📖 Usage Instructions

Before proceeding please ensure you have installed Hugo. You can use GitHub Codespaces or the devcontainer with Docker and VSCode to get started.

Open in GitHub Codespaces

Requirements:

  • NodeJS (v20)
  • Hugo (v0.120.4)

Once setup, run the following commands from the root repository folder:

  1. Update the PaperMod theme with the following command after cloning the repository:

    git submodule update --init --recursive
  2. To run a development server use the following command:

    hugo server -D

    To build a static website run the following command:

    hugo build --minify

Website should be accessible from: http://localhost:1313

🛠️ How To Use This Repo For Your Own Website

  1. Fork this repo
  2. Edit the config.yml file and enter your preferred parameters
  3. Go to "Settings > Pages", select "GitHub Actions" for the "Source" dropdown
  4. Go to "Actions", rerun the failed workflow
  5. Your site should be available at https://$USERNAME.github.io/.

🏗️ Folder Structure

.
├── archetypes
│   └── default.md
├── assets
│   └── css
│       └── extended
│           └── custom.css
├── config.yml                   # Site-wide configuration file
├── content
│   ├── archive.md
│   ├── posts                    # All blog posts
│   │   ├── 2024-01-01.md
│   │   ├── 2024-01-02.md
│   │   ├── 2024-01-03.md
│   │   ├── first.md
│   │   └── test.md
│   ├── search.md
│   └── tags
│       └── _index.md
├── layouts
│   └── partials
│       ├── comments.html
│       └── header.html
├── LICENCE
├── README.md
├── static                       # Images, favicons, etc.
│   ├── apple-touch-icon.png
│   ├── favicon-16x16.png
│   ├── favicon-32x32.png
│   ├── favicon.ico
│   ├── logo_outlined_6.png
│   └── safari-pinned-tab.svg
└── themes
    └── PaperMod

©️ License

This project is licensed under the GPL-3.0 license. See the file LICENSE for more information. If you plan to use any part of this source code in your website/portfolio, I would be really grateful if you include some form of credit somewhere.

About

Repository for a github.io website.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published