Python Daily
2.57K subscribers
1.48K photos
53 videos
2 files
38.9K links
Daily Python News
Question, Tips and Tricks, Best Practices on Python Programming Language
Find more reddit channels over at @r_channels
Download Telegram
I'm trying to have all my pages use one html file for a navbar but I cant get it to load in

I tried using javascript to load it in from a static file

$(function(){
$("#navbar").load("/navbar");
});

I also tried it by loading it as a seprate route and trying to reference it that way.

does anyone know if there is a way to get this working, through python or javascript?

/r/flask
https://redd.it/130x3cx