<footer class="page-footer <%= theme.color.footer %> darken-1">
    <% if (site.data.link) { %>
    <div class="footer-container container">
        <div class="row">
            <% if (site.data.link.social) { %>
            <div class="social-group col m4 s12">
                <h5 class="white-text"><%= __('social') %></h5>
                <% for (var type in site.data.link.social) { %>
                    <a class="social-link" href="<%= site.data.link.social[type] %>" target="_blank">
                        <i class="fa fa-2x fa-<%= type %>"></i>
                    </a>
                <% } %>
                <%- partial('plugin/page_stat') %>
            </div>
            <% } %>

            <% if (site.data.link && site.data.link.extern) { %>
            <div class="col m8 s12">
                <h5 class="white-text"><%= __('blogroll') %></h5>
                <% for (var name in site.data.link.extern) { %>
                    <a class="social-link" href="<%= site.data.link.extern[name] %>" target="_blank"><%= name %></a>
                <% } %>
            </div>
            <% } %>
        </div>
    </div>
    <% } %>
        <div class="container">
            <div class="row center">
            <a href="http://sgool.cn/">智能电网运行与优化实验室</a>
            </div>
        </div>
    <div class="footer-copyright <%= theme.color.link %>-link-context">
        <div class="container">
            <%= theme.copyright %>
            <p class="right" style="margin-top: 0;"> <%=__('powered.modified') %><a href="">CAI Yu</a></p>
            <br/>
        </div>

    </div>
</footer>