« first day (130 days earlier)      last day (504 days later) » 

12:30 AM
@Mr.Xcoder oh oops, i must have forgotten to turn it on
oh wait no its working but everytime a page loads this error happens:
Mar 11 at 8:34, by Downgoat
Mar 11 08:34:08 vihan.org python3.6[3014]: {% block body -%}
Mar 11 08:34:08 vihan.org python3.6[3014]: File "/var/www/codegolf.vihan.org/PPCG-v2/templates/layouts/page.html", line 68, in block "body"
Mar 11 08:34:08 vihan.org python3.6[3014]: {% include "includes/header.html" %}
Mar 11 08:34:08 vihan.org python3.6[3014]: File "/var/www/codegolf.vihan.org/PPCG-v2/templates/includes/header.html", line 21, in top-level template code
Mar 11 08:34:08 vihan.org python3.6[3014]: {% include "includes/header/useroverview.html" %}
im not sure how to fix
 
Anonymous
1:06 AM
Mar 11 at 17:11, by Mego
It should probably be g.user.avatar_url() if g.user else None
 
Anonymous
Oh wait, g.user has to be set
 
Anonymous
{% if g.user is not none -%}
    {% include "includes/header/useroverview.html" %}
 
Anonymous
Oh I figured it out
 
Anonymous
@Downgoat Fixed it
 
Anonymous
After using Mustache so much at work, coming back to Jinja2 is very refreshing
 
 
3 hours later…
4:02 AM
@Mego though why is it happening at all, shouldn't it be getting at least set to null: github.com/PPCG-v2/PPCG-v2/blob/… ?
 

« first day (130 days earlier)      last day (504 days later) »