Giter Site home page Giter Site logo

Comments (9)

 avatar commented on May 14, 2024 1

I have the same problem but with js and css files but index.html isnt empty.

from grav-plugin-blackhole.

MakaryGo avatar MakaryGo commented on May 14, 2024 1

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.

L-Naej avatar L-Naej commented on May 14, 2024

Same here using Landio skeleton. Empty html, no css & js files generated.

from grav-plugin-blackhole.

 avatar commented on May 14, 2024

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.

 avatar commented on May 14, 2024

@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.

 avatar commented on May 14, 2024

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.

sakonn avatar sakonn commented on May 14, 2024

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.

linuxbuh avatar linuxbuh commented on May 14, 2024

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.

 avatar commented on May 14, 2024

@linuxbuh

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)

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.