用例: 要求是将我的网站的页脚推到静态占位符。你知道吗
示例:
<footer id="DarkFooter">
<p>disclaimer txt<p>
<!-- some links of the site in list --!>
<ul>
<li class="footer-item" id="ContactFooter"><a href="{% url 'app1:contact' %}">Contact</a></li>
你知道吗 你知道吗
现在我希望内容在静态占位符中。 将上面的页脚更改为-
{% load cms_tags %}
<footer id="DarkFooter">
{% static_placeholder 'footerv1' %}
</footer>
问题:
更改为静态\u占位符后,url标记不可用上膛了联系我们链接正在加载
https://localhost/page1/%7B%%20url%20'app1:contact'%20%%7D
(这里app1:contact
是我对url标记的参数)
目前没有回答
相关问题 更多 >
编程相关推荐