Comments (9)
I have the same problem but with js and css files but index.html isnt empty.
from grav-plugin-blackhole.
Well, it could be even easier.
If you use Grav without Admin plugin and haven't changed settings, then it just acted according to the built-in config:
/user/plugin/blackhole/blueprints.yaml
generate.assets:
type: toggle
label: Assets
help: Copy assets to the output path.
highlight: 1
default: 0
options:
1: Enabled
0: Disabled
validate:
type: bool
from grav-plugin-blackhole.
Same here using Landio skeleton. Empty html, no css & js files generated.
from grav-plugin-blackhole.
This is most likely a bug introduced in one of the most recent releases. I just don't prioritize this project because it was for fun when I was working on it. I may update it at some point but I'm not in a hurry to do so.
from grav-plugin-blackhole.
@MakaryGo @Qoster @L-Naej I hadn't considered what MakaryGo said that it may simply be that the setting is off. To confirm, please share exactly what command you ran when it didn't generate assets.
from grav-plugin-blackhole.
Can't reproduce after running
bin/plugin blackhole generate http://localhost/grav -p /build
and tested with the same settings in the admin plugin.
from grav-plugin-blackhole.
Hello,
I have run into same issue. I have basic page with few plugins, custom theme and simple content.
Home page is made as listing page of children pages.
When I run this command: bin/plugin blackhole generate http://localhost/grav -f --output-path /build -a -t
I got generated HTML files but all of them are empty.
from grav-plugin-blackhole.
Hello,
I have run into same issue. I have basic page with few plugins, custom theme and simple content.
Home page is made as listing page of children pages.
When I run this command: bin/plugin blackhole generate bin/plugin blackhole generate https://192.168.0.2 -p /build --verbose-mode I got generated HTML files but all of them are empty.
Output log
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/form/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/form/thankyou/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/form/contact/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/pages/blog/random-thoughts/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/pages/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/pages/blog/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/pages/blog/just-some-text-today/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/pages/blog/focus-and-blur/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/pages/offline-page/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/pages/blog/sunshine-in-the-hills/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/pages/blog/classic-modern-architecture/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/features/typography/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/features/block-variations/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/pages/blog/monaco-night/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/pages/modular/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/features/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/pages/error/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/pages/blog/the-urban-jungle/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/sample-layouts/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/sample-layouts/left-sidebar/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/features/download/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/features/particles/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/styles/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/sample-layouts/two-sidebars-left/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/features/documentation/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/sample-layouts/two-sidebars-right/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/sample-layouts/rows-columns/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/sample-layouts/right-sidebar/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/sample-layouts/full-width/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/sample-layouts/two-sidebars/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/index.html
- Page ➜ /srv/dev-disk-by-label-mirror1TB/sites/grav/build/home/index.html
from grav-plugin-blackhole.
Try running it with http
instead.
bin/plugin blackhole generate http://192.168.0.2 -p /build --verbose-mode
and you may need to add the -f
flag to make it overwrite your previous build.
from grav-plugin-blackhole.
Related Issues (20)
- Need help? HOT 1
- Not installable atm HOT 4
- new feature idea: upload to another server HOT 1
- generate php files? HOT 1
- Few questions/issues for publishing static site to Netlify HOT 2
- Doesn't seem to publish to site root? HOT 2
- Idea: rewrite using wget HOT 6
- Validation failed: enabled is not defined in blueprints HOT 2
- No longer working with Grav CMS 1.6.28 HOT 5
- Usage in Admin HOT 1
- Add a button on top of left menu [Feature Request]
- Auto-generate on page save [Feature Request]
- Call another plugin [Feature Request]
- Fonts are not build when assets is call HOT 1
- css not exported
- Multisite setup compatibility HOT 1
- Quickdraw
- Navigation links not rewritten HOT 1
- Tag links not working
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 grav-plugin-blackhole.