Comments (6)
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:
- creating a directory called
themes
(e.g.mkdir themes
) - changing into the
themes
directory (e.g.cd themes
) - 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.
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.
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.
That would explain that!
from critical-data.
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.
@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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from critical-data.