ch0ccyra1n's former personal website
Find a file
2025-03-16 18:31:07 -07:00
archetypes update defiance 2022-09-07 21:11:04 -07:00
content fix broken icon in homepage 2024-12-05 13:06:20 -08:00
layouts add email 2025-03-16 18:31:07 -07:00
static update contact page 2024-03-27 15:06:15 -07:00
themes fix deprecated author variable 2024-12-05 13:04:30 -08:00
.gitignore Initialized from 'Pages/Hugo' project template 2022-07-20 08:47:16 +02:00
.gitlab-ci.yml attempted change in pipeline 2023-03-13 14:37:32 -07:00
.gitmodules theme overhaul 2023-03-13 14:34:18 -07:00
config.toml add author info 2024-02-01 14:41:21 -08:00
LICENSE lots of small fixes 2022-08-08 18:03:25 -07:00
README.md Update README.md again 2022-08-08 17:21:31 -07:00

ch0ccyra1n's personal website, built using GitLab Pages and GitLab CI/CD.

Learn more about GitLab Pages at the official documentation. Learn more about GitLab CI/CD at the official documentation.

Building locally

To work locally with this project, you'll have to follow the steps below:

  1. Fork, clone or download this project.

  2. Install git and go.

  3. Install Hugo.

  4. Update submodules:

    git submodule update --init --recursive
    
  5. Preview your project:

    hugo server --disableFastRender
    
  6. Add content.

  7. Optional. Generate the website:

    hugo
    

Read more at Hugo's documentation.

GitLab User or Group Pages

To use this project as your user/group website, you will need to perform some additional steps:

  1. Rename your project to namespace.gitlab.io, where namespace is your username or groupname. This can be done by navigating to your project's Settings > General (Advanced).
  2. Change the baseurl setting in your config.toml to baseurl = "https://namespace.gitlab.io". Proceed equally if you are using a custom domain: baseurl = "https://example.com".

Read more about GitLab Pages for projects and user/group websites.

Did you fork this project?

If you forked this project for your own use, please go to your project's Settings and remove the forking relationship, which won't be necessary unless you want to contribute back to the upstream project.

Troubleshooting

CSS is missing! That means two things:

  • Either that you have wrongly set up the CSS URL in your templates.
  • Or your static generator has a configuration option that needs to be explicitly set in order to serve static assets under a relative URL.

Hugo fails to build the website

If the version of hugo or hugo_extended is 0.92.2 or later, you may have problems building the website.

Generics were introduced in Go 1.18, and they broke some features in the newer versions of Hugo. For now, if you use hugo or hugo_extended versions 0.92.2 or later, you might encounter problems building the website. To resolve the problem:

  1. Edit your .gitlab-ci.yaml file.
  2. Identify the line that declares the Hugo version.
  3. Change the value to :0.92.2.
  4. Save your changes

For more information about this issue: