diff --git a/view/layout/main.pug b/view/layout/main.pug index 61f1014..8835783 100644 --- a/view/layout/main.pug +++ b/view/layout/main.pug @@ -33,6 +33,13 @@ html(style='overflow-y:auto' lang='en_US') block head body(style='overflow-y:auto') + if (process.env.APP_DEBUG == 'true') + p(style='color:darkred;font-weight:bold;font-size:16pt;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;pointer-events:none;opacity:0.25') + | Warning: THE WEBSITE IS IN DEBUG MODE! + br + | If the site is running in production, please + br + | contact the maintainer and notify them of the issue. table(width='100%' height='100%' class='body_table') tr td(class='side_menu')