Initial commit of content.

This commit is contained in:
2021-01-13 11:25:45 -08:00
commit 9b8760fd34
67 changed files with 25486 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
// This configures the apostrophe-pages module to add a "home" page type to the
// pages menu
module.exports = {
types: [
{
name: 'district',
label: 'District Page'
},
{
name: 'avhs',
label: 'High School Page'
},
{
name: 'aves',
label: 'Elementary School Page'
}
// Add more page types here, but make sure you create a corresponding
// template in lib/modules/apostrophe-pages/views/pages!
]
};

View File

@@ -0,0 +1,12 @@
{#
Use this template to build out your 404 error pages. Like page templates,
it inherits a global layout.
#}
{% extends "layout.html" %}
{% block title %}404 - Page not found{% endblock %}
{% block main %}
We're sorry. We couldn't find the page you're looking for.
{% endblock %}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,24 @@
{% extends "layout.html" %}
{% block main %}
<div class="container" style="margin-top: 3rem">
{{ apos.area(data.page, "body", {
widgets: {
'apostrophe-images': {size: 'original'},
'apostrophe-rich-text': {
toolbar: ['Styles', 'Bold', 'Italic', 'Link', 'Unlink', 'Indent', 'Outdent', 'Anchor', 'Table', 'BulletedList', 'Blockquote', 'Strike', 'Subscript', 'Superscript', 'Split'],
styles: [
{name: 'Paragraph', element: 'p'},
{name: 'highlighted', element: 'p', attributes: [{'class': 'highlighted'}]},
{name: 'Heading 2', element: 'h2'},
{name: 'Heading 3', element: 'h3'},
{name: 'Heading 4', element: 'h4'},
{name: 'Heading 5', element: 'h5'}
]
},
'apostrophe-files': {},
'two-column': {}
}
}) }}
</div>
{% endblock %}

View File

@@ -0,0 +1,41 @@
{#
This is an example home page template. It inherits and extends a layout template
that lives in the top-level views/ folder for convenience
#}
{% extends "layout.html" %}
{#{% block menu %}#}
{# <div style="height: 20px; background-color: red"></div>#}
{#{% endblock %}#}
{% block main %}
{# <div class="main-content">#}
{# <h3>Hello world!#}
{# {% if not data.user %}#}
{# <a class="login-link" href="{{ apos.prefix }}/login">Login</a>#}
{# {% endif %}#}
{# </h3>#}
{# <p>This is a very bare bones Apostrophe project. Now, get to work and make a real website!</p>#}
{# </div>#}
<div class="container" style="margin-top: 3rem">
{{ apos.area(data.page, "body", {
widgets: {
'apostrophe-images': {size: 'one-half'},
'apostrophe-rich-text': {
toolbar: ['Styles', 'Bold', 'Italic', 'Link', 'Unlink', 'Anchor', 'Table', 'BulletedList', 'Blockquote', 'Strike', 'Subscript', 'Superscript', 'Split'],
styles: [
{name: 'Paragraph', element: 'p'},
{name: 'highlighted', element: 'p', attributes: [{'class': 'highlighted'}]},
{name: 'Heading 2', element: 'h2'},
{name: 'Heading 3', element: 'h3'},
{name: 'Heading 4', element: 'h4'},
{name: 'Heading 5', element: 'h5'}
]
},
'apostrophe-files': {},
'two-column': {}
}
}) }}
</div>
{% endblock %}