<footer id="footer">
    <div class="page_wrapper">
        <div class="footer_line">
            <div id="footer_1">
                <% footer_1 = h.staticpage.render_footer_column(c.instance, 1) %>
                %if footer_1 is None:
                <ul>
                    <li><a class="staticlink_about"
                           href="/static/about.html">
                        Wie funktioniert Adhocracy?
                    </a></li>
                    <li><a class="staticlink_codex"
                           href="/static/codex.html">
                        ${_("code of conduct")}
                    </a></li>
                    <li><a class="staticlink_terms"
                           href="/static/terms.html">
                        ${_("terms and conditions")}
                    </a></li>
                </ul>
                %else:
                ${footer_1|n}
                %endif
            </div>

            <div id="footer_2">
                <% footer_2 = h.staticpage.render_footer_column(c.instance, 2) %>
                %if footer_2 is None:
                <ul>
                    <li><a class="staticlink_privacy"
                           href="/static/privacy.html">
                        ${_("privacy")}
                    </a></li>
                    <li><a class="staticlink_imprint"
                           href="/static/imprint.html">
                        ${_("imprint")}
                    </a></li>
                </ul>
                %else:
                ${footer_2|n}
                %endif
            </div>

            <div id="footer_3">
                <% footer_3 = h.staticpage.render_footer_column(c.instance, 3) %>
                %if footer_3 is None:
                <h3>Diese Plattform wird betrieben mit</h3>
                <p><a href="https://github.com/liqd/adhocracy/" title="AdhocracyCode" id="link_footer_logo"><img src="/images/logo_adhocracy_code_footer.png" alt="AdhocracyCode" /></a></p>
                <p>
                    <a href="http://creativecommons.org/licenses/by/3.0/de/" rel="license"><img src="/images/80x15.png" alt="Creative Commons License" /></a>
                    <a href="http://www.opendefinition.org/" rel="license"><img src="/images/oc_80x15_blue.png" alt="Open Definition" /></a>
                    v${h.version.get_version()}
                </p>
                %else:
                ${footer_3|n}
                %endif
            </div>
        </div>
    </div>
</footer>
