123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <html>
- <head>
- <title>{{ title }}</title>
- <style>
- .container {
- margin: auto;
- max-width: 800px;
- }
-
- .header__raw-link {
- font-size: 16px;
- font-weight: normal;
- }
-
- .body > pre {
- font-size: 16px;
- padding: 15px;
- }
-
- .body > pre.plaintext {
- padding: 0;
- }
- </style>
- <meta name="viewport" content="width=device-width">
- </head>
- <body>
- <div class="container">
- <h1 class="header">
- {{ title }}
-
- {% if id %}
- <a class="header__raw-link" href="/snippets/{{ id }}/raw">raw</a>
- {% endif %}
- </h1>
- {% if body %}
- <div class="body">
- {{ body | safe }}
- </div>
- {% endif %}
- </div>
- </body>
- </html>
|