    </main>
    <?php if ($_GET["_hidenav"] != "yes" && $_GET["_hidenav"] != "widget") { ?>
      </div>
      </div>
    <?php } ?>
    <script src="/static/bootstrap.bundle.min.js"></script>
    <script>
      document.addEventListener("DOMContentLoaded", function() {
        console.log("post-body loaded");
        [].forEach.call(document.querySelectorAll('.dropimage'), function(img){
          console.log("Setting up dropimage", img);
          img.onchange = function(e){
            var inputfile = this, reader = new FileReader();
            reader.onloadend = function(){
              inputfile.style['background-image'] = 'url('+reader.result+')';
            }
            reader.readAsDataURL(e.target.files[0]);
          }
        });
      });
    </script>
  </body>
</html>