Comments (4)
When cloning into another folder there is no resources\templates\img folder available
There is definitely an img
folder created when you run lein new cryogen my-blog
. I'm not sure if that's what you mean by cloning though.
But the fact that an error is being thrown when "img"
is specified under :resources
in the config when no img
folder exists is intentional.
from cryogen.
Sorry for being not exact enough. This is my workflow.
- Create new project with lein new cryogen foo
- Generate some posts
- Commit everything to github
- Clone from github and serve them
---- up to here everything is ok - Now I clone the repo to a different location (working on a different device)
- Add some posts
And here the generation of the static files fail, because of the missing img folder.
Does that make sense?
from cryogen.
Yes, thanks for clarifying.
I don't plan on removing the error. It does not stop the auto-compiler, so if you were to add am img
folder after seeing that error then it would continue with no problem.
Alternatively, just remove "img"
from the list of resources in the config.edn
file if you don't plan on putting anything into the img
folder.
from cryogen.
Ok, thanks for being clear, didn't know about the config. However, good work you have done here. I really enjoy it so far :-)
from cryogen.
Related Issues (20)
- Broken on Linux with Leiningen 2.9.4 on Java 11.0.9, Clojure 1.10.1 HOT 2
- Serve headless with containerized development environment HOT 4
- Add support for author avatar and bio for multiple authors HOT 1
- How to change the port for `lein serve` HOT 4
- [feature] pagination for posts summary HOT 1
- [feature] unique files names HOT 1
- `clojure -M:build` exite code HOT 1
- Sass-location theme error, with fresh project, using lotus/nucleus HOT 1
- deploy in nginx, but" hljs is not defined" HOT 1
- Doc: "full build" is only mentioned in the end. HOT 3
- MathJax integration HOT 2
- RSS feed: only publishes article's "summary" HOT 2
- deps-new error when creating a new site HOT 2
- Auto-refresh feature doesn't work with Nucleus template. HOT 1
- How to upgrade old blog to newest version of Cryogen HOT 1
- How to set one post to the home page HOT 1
- Router serving static-file only works locally HOT 6
- Lotus Theme error, "resource content/themes/lotus/img not found" HOT 2
- The `/blog/blog/` problem HOT 3
- Cryogen does not list as a clojure project HOT 2
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 cryogen.