Commit 2f023c2efa5e9a2ced2f56fab4b104d931fa005a

Fixing wrong use of url_for
  • Diff rendering mode:
  • inline
  • side by side

mouchak/templates/editor.html

101 <button class="btn btn-primary" id="addPage">Add Page</button>101 <button class="btn btn-primary" id="addPage">Add Page</button>
102 <hr>102 <hr>
103 <p> <a href="javascript:void(0);" id="menu-config"> Site Menu </a> </p>103 <p> <a href="javascript:void(0);" id="menu-config"> Site Menu </a> </p>
104 <p><a href="{{ url_for('/') }}"> Go to site </a></p>
104 <p><a href="{{ url_for('index') }}"> Go to site </a></p>
105 </div>105 </div>
106 </script>106 </script>
107107