Giter Club home page Giter Club logo

Comments (5)

gcushen avatar gcushen commented on June 14, 2024

There are no offline docs for the Tailwind-styled version of Hugo Blox as it's now entirely offline by default (those measures are builtin) so those docs are no longer appropriate.

If you're using the Boostrap version, you can find the Bootstrap docs here: https://bootstrap.hugoblox.com

from hugo-blox-builder.

lambtho12 avatar lambtho12 commented on June 14, 2024

The website is still not offline and still calls numerous services (CDNs) to get everything.

What I do:

  1. Get clean version of the template git clone https://github.com/HugoBlox/theme-academic-cv.git
  2. Get dependencies hugo mod vendor
  3. Run server with hugo server

When I check the network tool, I get calls to

  • cloudflare.net
  • fastly.net
  • gstatic.com
  • jsdelivr.net
  • openstreetmap.org

With the old method, it was possible to make a local copy of everything so none of these were called. I would like to replicate it with the new version. So I do not really understand your "it is offline by default". Could you explain a bit more?

from hugo-blox-builder.

lambtho12 avatar lambtho12 commented on June 14, 2024

@gcushen , could you explain why/how the base website makes these calls and how to avoid it so everything is served from my server rather than fetched form external sources?

from hugo-blox-builder.

gcushen avatar gcushen commented on June 14, 2024

@gcushen , could you explain why/how the base website makes these calls and how to avoid it so everything is served from my server rather than fetched form external sources?

I'm not the sole contributor on the project, there are 200 others, some of whom contributed to these features. Third party integrations were generally integrated based on the instructions from those third parties. For example, how do you intend to display a third party map without letting the user download the map from the third party? Does open street map have such an offline feature?

My previous comment on having an offline site by default was referring to the new Tailwind-styled templates such as the Resume template.

from hugo-blox-builder.

lambtho12 avatar lambtho12 commented on June 14, 2024

Obviously, some of the external resources are easy to disable. As you point, I just have to disable the map to get rid of openstreetmap... But for gstatic, or jsdelivr it is not that obvious. I would rather simply have all js or css hosted locally, that is it.

My previous comment on having an offline site by default was referring to the new Tailwind-styled templates such as the Resume template.

I plan to use academic-cv.

from hugo-blox-builder.

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.