Code Monkey home page Code Monkey logo

Comments (2)

lsrdg avatar lsrdg commented on July 24, 2024

Hi, have you found an answer to this? I am trying to publish to Gitlab Pages and it does not render correctly. I am not sure if the problem is in .gitlab-ci.yml (in the build command) or in content/config.toml. Any ideas on the issue would be appreciated. (:
Cheers!

from somrat-hugo-theme.

lsrdg avatar lsrdg commented on July 24, 2024

For anyone coming in here with the same issue:

Apparently, there's nothing wrong with the theme itself, but maybe with the documentation which guides the user to $ cd exampleSite and run run the server from exampleSite/.

My solution was basically move the relevant files from exampleSite/ to the root directory (and forget the exampleSite. By doing that, .gitlab-ci.yml got simplified to just running $ hugo.

If - for any reason - there is a need of keeping the site into the exampleSite/, taking a look at netlify.toml might give a hint on how to perform the build:
`$ cd exampleSite && hugo --gc --themesDir ../..".

Thanks @somratpro for the great theme! And if I got the issue right, let me know if I can help with the docs.

from somrat-hugo-theme.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.