Skip to content

Commit

Permalink
- fix long lines [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Oct 11, 2023
1 parent cc55f2f commit c070668
Showing 1 changed file with 30 additions and 27 deletions.
57 changes: 30 additions & 27 deletions src/OFS/Application.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,32 +519,35 @@ def pgetattr(product, name, default=install_products, __init__=0):
DEFAULT_ROOT_TEMPLATE = """\
<!DOCTYPE html>
<html>
<head>
<title tal:content="template/title">The title</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<link rel="shortcut icon" type="image/x-icon" href="/++resource++logo/favicon/favicon.svg" />
<link rel="stylesheet" type="text/css" href="/++resource++logo/default.css" />
</head>
<body>
<a href="https://www.zope.dev" target="_blank">
<img src="/++resource++logo/Zope.svg" id="logo" alt="Zope logo" />
</a>
<h1>
<span tal:condition="template/title" tal:replace="context/title_or_id">
content title or id
</span>:
<span tal:condition="template/title" tal:replace="template/title">
optional template title
</span>
</h1>
<p>
This is Page Template <em tal:content="template/id">template id</em>.
</p>
<p>
For documentation, please visit
<a href="https://zope.readthedocs.io">https://zope.readthedocs.io</a>.
</p>
</body>
<head>
<title tal:content="template/title">The title</title>
<meta charset="utf-8" />
<meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<link rel="shortcut icon" type="image/x-icon"
href="/++resource++logo/favicon/favicon.svg" />
<link rel="stylesheet" type="text/css"
href="/++resource++logo/default.css" />
</head>
<body>
<a href="https://www.zope.dev" target="_blank">
<img src="/++resource++logo/Zope.svg" id="logo" alt="Zope logo" />
</a>
<h1>
<span tal:condition="template/title" tal:replace="context/title_or_id">
content title or id
</span>:
<span tal:condition="template/title" tal:replace="template/title">
optional template title
</span>
</h1>
<p>
This is Page Template <em tal:content="template/id">template id</em>.
</p>
<p>
For documentation, please visit
<a href="https://zope.readthedocs.io">https://zope.readthedocs.io</a>.
</p>
</body>
</html>
"""

0 comments on commit c070668

Please sign in to comment.