Commit bb4af064 authored by Pierre Paul's avatar Pierre Paul

Support for h1 title

parent a0b7fe8b
......@@ -8,10 +8,6 @@ html {
overflow-y: scroll;
}
body {
padding-top: 60px;
}
section {
overflow: auto;
}
......@@ -20,11 +16,6 @@ textarea {
resize: vertical;
}
.container-narrow{
margin: 0 auto;
max-width: 700px;
}
/* Forms */
.navbar-form input[type="text"],
......
{% raw %}
{% extends "layout.html" %}
{% block page_title_h1 %}
About
{% endblock %}
{% block content %}
<div class="body-content">
<div class="row">
<h1>About</h1>
<p>This template was created by <a href="http://github.com/sloria/">Steven Loria</a> for use with the <a href="http://github.com/audreyr/cookiecutter/">cookiecutter</a> package by <a href="http://github.com/audreyr/">Audrey Roy</a>.</p>
</div>
</div>
......
{% raw %}
{% extends "layout.html" %}
{% block page_title_h1 %}
{% endraw %}
Welcome to {{ cookiecutter.project_name }}
{% raw %}
{% endblock %}
{% block content %}
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="jumbotron">
{% endraw %}
<h1>Welcome to {{ cookiecutter.project_name }}</h1>
{% raw %}
<p>This is a starter Flask template. It includes Bootstrap 3, jQuery 2, Flask-SQLAlchemy, WTForms, and various testing utilities out of the box.</p>
<p><a href="https://github.com/sloria/cookiecutter-flask" class="btn btn-primary btn-large">Learn more &raquo;</a></p>
</div><!-- /.jumbotron -->
......
{% raw %}
{% extends "layout.html" %}
{% block page_title_h1 %}
Register
{% endblock %}
{% block content %}
<div class="container-narrow">
<h1>Register</h1>
<br/>
<form id="registerForm" class="form form-register" method="POST" action="" role="form">
{{ form.csrf_token }}
......
{% raw %}
{% extends "layout.html" %}
{% block page_title_h1 %}
Welcome {{ current_user.username }}
{% endblock %}
{% block content %}
<h1>Welcome {{ current_user.username }}</h1>
<h3>This is the members-only page.</h3>
{% endblock %}
{% endraw%}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment