You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
915 B
35 lines
915 B
{% extends "layouts/app.html" %} |
|
|
|
{% comment "Set title using title function." %} |
|
<!-- |
|
This title block uses the additional code from Chapter 3. The |
|
function, 'title', is stored in /src/view.lisp. |
|
--> |
|
{%block title %}{% lisp (title! "Bitchin!") %}{% endblock %} |
|
{% endcomment %} |
|
|
|
<!-- |
|
If you prefer to be more explicit with your page titles, you can |
|
populate the title string without the need to call 'title'. |
|
--> |
|
{% block title %}Rails to Caveman2 Demo.{% endblock %} |
|
|
|
{% block content %} |
|
{% if notice %} |
|
<p class="alert">{{notice}}</p> |
|
{% endif %} |
|
{% include "shared/errors.html" %} |
|
<!-- |
|
This message is passed from the router in /src/web.lisp. There is |
|
no guarantee it will contain anything n it, though. |
|
--> |
|
<h2>{{ message }}</h2> |
|
{% for b in numbers %} |
|
<li><a href="#">Blog Header</a></li> |
|
{% endfor %} |
|
|
|
{% if alert %} |
|
<p class="alert">{{alert}}</p> |
|
{% endif %} |
|
|
|
{% endblock %}
|
|
|