Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% extends data.outerLayout %}
- {% block title %}Home{% endblock %}
- {% block main %}
- <div class="main-content">
- <h3>Hello world!
- {% if not data.user %}
- <a class="login-link" href="/login">Login</a>
- {% endif %}
- </h3>
- <p>This is a very barebones Apostrophe project. Now, get to work and make a real website!</p>
- {{ apos.area(data.page, 'body', {
- widgets: {
- 'apostrophe-images': {
- size: 'full'
- },
- 'apostrophe-rich-text': {
- toolbar: [ 'Styles', 'Bold', 'Italic', 'Link', 'Unlink' ],
- styles: [
- { name: 'Heading', element: 'h3' },
- { name: 'Subheading', element: 'h4' },
- { name: 'Paragraph', element: 'p' }
- ]
- }
- }
- }) }}
- </div>
- {% endblock %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement