siteside
{% if not needlesssidebar %}
    <a class="button1" href="javascript:location='/'">首 頁</a>
    {% if current_user %}
    <a class="button1" href="javascript:location='/mypage'">我的頁面</a>
    {% endif %}
    {% ifequal current_user author %}
    <a class="button1" href="javascript:location='/edit-' + location.pathname.slice(1)">編輯</a>
    <a class="button1" href="javascript:deletePage()">刪除</a>
    {% endifequal %}
    <a class="button1" onClick="location='{{loginout_url}}'">{{loginout_label}}</a>
{% endif %}