From 94b6ee30205bdfccdc91844280e7d11cbbb0b1b8 Mon Sep 17 00:00:00 2001 From: Sam Lu Date: Wed, 18 Jul 2018 23:12:00 -0500 Subject: [PATCH] Add sample training courses and update page description. --- src/templates/layout.pug | 8 ++++---- src/templates/projects_index_collection.pug | 9 +++++++-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/templates/layout.pug b/src/templates/layout.pug index 9c30a81..965c523 100644 --- a/src/templates/layout.pug +++ b/src/templates/layout.pug @@ -52,12 +52,12 @@ html(lang="en") | {% block head %}{% endblock %} | {% block css %} - //- link(href="{{ url_for('static_pillar', filename='assets/css/font-pillar.css') }}", rel="stylesheet") - //- link(href="{{ url_for('static_pillar', filename='assets/css/base.css') }}", rel="stylesheet") + link(href="{{ url_for('static_pillar', filename='assets/css/font-pillar.css') }}", rel="stylesheet") + link(href="{{ url_for('static_pillar', filename='assets/css/base.css') }}", rel="stylesheet") | {% if title == 'blog' %} - //- link(href="{{ url_for('static_pillar', filename='assets/css/blog.css') }}", rel="stylesheet") + link(href="{{ url_for('static_pillar', filename='assets/css/blog.css') }}", rel="stylesheet") | {% else %} - //- link(href="{{ url_for('static_cloud', filename='assets/css/main.css') }}", rel="stylesheet") + link(href="{{ url_for('static_cloud', filename='assets/css/main.css') }}", rel="stylesheet") | {% endif %} | {% endblock css %} diff --git a/src/templates/projects_index_collection.pug b/src/templates/projects_index_collection.pug index 874498d..c34367f 100644 --- a/src/templates/projects_index_collection.pug +++ b/src/templates/projects_index_collection.pug @@ -7,10 +7,10 @@ | {% set page_header_text = 'See how each film came to be. Explore our production files, assets, artwork and more. Get full access to behind the scenes at the Blender Animation Studio. Follow along as we share our process and techniques for each movie.' %} | {% if title == 'courses' %} -| {% set page_title = 'Courses' %} +| {% set page_title = 'Training' %} | {% set page_description = 'Production quality training by 3D professionals' %} | {% set page_header_image = url_for('static', filename='assets/img/backgrounds/background_caminandes_3_03.jpg') %} -| {% set page_header_text = 'Character modeling, 3D printing, VFX, rigging and more.' %} +| {% set page_header_text = 'Browse through our structured courses. Choose a workshop where top Blender Artists walk you through professional techniques to build a specific project. Visit the Art Gallery where you can download and study source files from your favorite artists.' %} | {% elif title == 'workshops' %} | {% set page_title = 'Workshops' %} @@ -50,7 +50,12 @@ link(href="{{ url_for('static_cloud', filename='assets/css/projects-index-collec .container h1.display-4.node_index-collection-name {{ page_title }} p.lead.node_index-collection-description {{ page_header_text }} +| {% if title == 'courses' %} + p test +| {% elif title == 'workshops' %} + p workshops +| {% endif %} //- Project Cards .container.card-container .row