0

我正在尝试使用 SSI 将页脚调用到我的网站,但它不起作用。我不确定我是否必须包含一个告诉服务器它是 SSI 的命令?

页脚文件:

页脚.shtml

<footer id="footer">
        <div>
            <div>
                <div>
                    <p class="source"><i>“Unless someone like you cares a whole awful lot,
                        Nothing is going to get better. It's not.” ― Dr. Seuss, The Lorax</i></p>

                </div>
                <div class="source">
                    <p>&copy; 2016 Climate Change. All Rights Reserved. </p>
                    <p>Terms of Use | Privacy Policy </p>
                </div>
            </div>
        </div>
    </footer>

调用文件:

<!--#include file="../climate-change/assets/resources/footer.shtml"-->
4

0 回答 0