Django CMS 3.11.10 Documentation
section on your website which should be the same on every single page, such as a footer block. You could hard-code your footer into the template, but it would be nicer to be able to manage it through the CMS static placeholders from a template, you can reuse them later. So let’s add a footer to all our pages. Since we want our footer on every single page, we should add it to our base template (mysite/templates/base {% load djangocms_alias_tags %} {% block content %} <footer> {% static_alias 'footer' %} footer> {% endblock content %} Save the template and return to your0 码力 | 493 页 | 1.44 MB | 6 月前0.03Ubuntu Desktop Training 2009
facilitates error-free writing by enabling you to check your entire document, including the header, footer, index entries and footnotes, for spelling errors. It even allows you to identify a misspelled word0 码力 | 428 页 | 57.45 MB | 1 年前3
共 2 条
- 1