What is in this Demo?

This is a demo Hugo site, that is meant to accompany this blog post: integrating asset server with Hugo

The demo contains two example pages:

Requirements

Running the Demo

clone the example repo

          git clone https://gitlab.com/aarongile/examples/hugo-assetserver.git
        

The file organization is as follows:


    
      |_ site
      |  |_ content
      |
      |_ scripts
      |  |
      |  |_ asset-server.py
      |  |_ bottle.py
      |
      |_ build.sh
      |_ README.md
      |_ LICENSE
     
    

Run the build.sh script, which starts hugo and a local asset server that works with it.

        chmod +x build.sh
        ./hugo-demo.sh debug
      

Browse the demo: http://localhost:1313

Thanks you for your time!