view build/messages/_content/templates/default.html @ 113:de257cc40ce1

Re-enable proper caching of rendered segments in server. The server keeps records on files that are processed while the server is running. Disk caching is simply disabled for files that are known to use other pages -- because unlike the baker, there's no cheap way to know which files are up to date or not, and rendering is faster enough anyway.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 19 Oct 2014 00:30:44 -0700
parents f485ba500df3
children
line wrap: on
line source

<!doctype html>
<html>
<head>
    <title>{{ page.title }}</title>
    <meta name="generator" content="PieCrust" />
	<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Lobster">
	<style>
		body {
			margin: 0;
			padding: 1em;
			background: #eee;
			color: #000;
			font-family: Georgia, serif;
		}
		h1 {
			font-size: 4.5em;
			font-family: Lobster, 'Trebuchet MS', Verdana, sans-serif;
			text-align: center;
			font-weight: bold;
            margin-top: 0;
			color: #333;
			text-shadow: 0px 2px 5px rgba(0,0,0,0.3);
		}
		h2 {
			font-size: 2.5em;
            font-family: 'Lobster', 'Trebuchet MS', Verdana, sans-serif;
		}
		code {
			background: #ddd;
			padding: 0 0.2em;
		}
        #preamble {
            font-size: 1.2em;
            font-style: italic;
            text-align: center;
            margin-bottom: 0;
        }
		#container {
			margin: 0 20%;
		}
        #content {
            margin: 2em 1em;
        }
		.note {
			margin: 3em;
			color: #888;
			font-style: italic;
		}
	</style>
</head>
<body>
    <div id="container">
        <div id="header">
            <p id="preamble">A Message From The Kitchen:</p>
			<h1>{{ page.title }}</h1>
		</div>
        <hr />
        <div id="content">
            {% block content %}
			{{ content|raw }}
            {% endblock %}
		</div>
        <hr />
        {% block footer %}{% endblock %}
	</div>
</body>
</html>