Skip to content
Myr

Merge pull request #1574 from adamchainz/docs_html

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Update legacy doctype in docs/tricks

authored by David Lord · committed by GitHub · parents 24d3215, b81feb8 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/tricks.rst+1 added-1 removed
24 unmodified lines
25basic skeleton is added to the file so that if it's indeed rendered with26`standalone` set to `True` a very basic HTML skeleton is added::2728 {% if not standalone %}{% extends 'default.html' %}{% endif -%}29 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">29 <!DOCTYPE html>30 <title>{% block title %}The Page Title{% endblock %}</title>31 <link rel="stylesheet" href="style.css" type="text/css">32 {% block body %}33 <p>This is the page body.</p>
67 unmodified lines