Hugo is an App. What it produces is a Website. And the App which generates a Hugo site—be it yours your someone else’s—will not scale cleanly using environment-based config in the template files for the reasons I indicated above, and based on 10 years of enterprise development experience.
anon94969202
32
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Disable portions of content while developing | 7 | 1087 | March 7, 2018 | |
| Distinguish production from development | 15 | 7915 | June 8, 2020 | |
| Read Google Analytics Tracking ID from environment | 2 | 650 | December 10, 2017 | |
| Implementing Google Analytics in Hugo | 7 | 12388 | November 20, 2020 | |
| Is there a way to not load JS file (analytics for instance) in "dev" server | 1 | 487 | November 8, 2019 |