Giter Club home page Giter Club logo

Comments (6)

tompollard avatar tompollard commented on June 24, 2024

We should perhaps include this theme as a subproject in GitHub, but for now you can install the theme by navigating to the base directory for the project (i.e. ~\Documents\GitHub\critical-data\, then:

  1. creating a directory called themes (e.g. mkdir themes)
  2. changing into the themes directory (e.g. cd themes)
  3. cloning the theme that you need (e.g. git clone [email protected]:devcows/hugo-universal-theme.git)

For more information on themes, see: https://gohugo.io/themes/installing-and-using-themes/

from critical-data.

alistairewj avatar alistairewj commented on June 24, 2024

You need to clone the repository recursively otherwise the theme, which is a submodule, isn't cloned. See the README, specifically command git clone --recurse-submodules [email protected]:MIT-LCP/critical-data.git

If you did that and it didn't work then the submodule might be configured incorrectly in which case just clone the hugo-universal-theme repo into the themes/hugo-universal-theme subfolder.

from critical-data.

tompollard avatar tompollard commented on June 24, 2024

I don't think it is a submodule at the moment (or at least it isn't listed as a submodule on GitHub).

from critical-data.

alistairewj avatar alistairewj commented on June 24, 2024

That would explain that!

from critical-data.

theonesp avatar theonesp commented on June 24, 2024

I had cloned the repo recursively when getting the error.
So I created a folder for the theme where the missing directory was and copied the files from the hugo universal theme, so pretty much what you recommended, it works now!
thanks

from critical-data.

tompollard avatar tompollard commented on June 24, 2024

@theonesp glad you manage to fix it! Rather than pushing changes directly to the master branch, please could you submit them via pull requests, so we can review before merging?

from critical-data.

Related Issues (4)

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.