Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions _includes/jsonld.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

Requirements:
- Pages should have appropriate tags in front matter
- Optional fields supported: excerpt, description, dateActiveFirst, organization, venue, videoUrl, social.website, parent_organization, speakers, etc.
- Optional fields supported: summary, description, dateActiveFirst, organization, venue, videoUrl, social.website, parent_organization, speakers, etc.
- Uses Liquid's `jsonify` filter to safely escape string values

Note:
Expand All @@ -29,8 +29,8 @@
{% if page_tags contains "type/project" %}
"@type": "CreativeWork",
"name": {{ page.title | jsonify }},
{% if page.excerpt %}
"description": {{ page.excerpt | strip_html | strip_newlines | jsonify }},
{% if page.summary %}
"description": {{ page.summary | strip_html | strip_newlines | jsonify }},
{% endif %}
{% if page.dateActiveFirst %}
"dateCreated": "{{ page.dateActiveFirst }}",
Expand Down
4 changes: 2 additions & 2 deletions _layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<header>
<hgroup>
<h1>{{ page.display_title | default: page.title }}</h1>
{% if page.excerpt %}
<p>{{ page.excerpt }}</p>
{% if page.summary %}
<p>{{ page.summary }}</p>
{% endif %}
</hgroup>
</header>
Expand Down
8 changes: 4 additions & 4 deletions _layouts/person.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<header>
<hgroup>
<h1>{{ page.title }}</h1>
{% if page.excerpt %}
<p>{{ page.excerpt }}</p>
{% if page.summary %}
<p>{{ page.summary }}</p>
{% endif %}
</hgroup>
</header>
Expand Down Expand Up @@ -85,8 +85,8 @@ <h2>Projects</h2>
</footer>
</article>

{% include backlinks.html
collections=all_collections
{% include backlinks.html
collections=all_collections
fields="team,speakers"
title="Mentioned In"
%}
6 changes: 3 additions & 3 deletions _layouts/project.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
<header>
<hgroup>
<h1>{{ page.title }}</h1>
{% if page.excerpt %}
<p>{{ page.excerpt }}</p>
{% if page.summary %}
<p>{{ page.summary }}</p>
{% endif %}
</hgroup>
</header>
Expand Down Expand Up @@ -81,7 +81,7 @@ <h2>Project Information</h2>
{% if resolved_people.size > 0 %}
<section>
<h3>Related People</h3>

<article>
<ul>
{% for person in resolved_people %}
Expand Down
2 changes: 1 addition & 1 deletion _pages/feedback.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "Share Your Feedback"
layout: page
permalink: "/feedback/"
excerpt: "🔓 Help us make Civic Tech Toronto better. Responses are anonymous — we never collect names or emails — and are stored openly in a public GitHub repository."
summary: "🔓 Help us make Civic Tech Toronto better. Responses are anonymous — we never collect names or emails — and are stored openly in a public GitHub repository."
---

<style>
Expand Down
4 changes: 2 additions & 2 deletions _pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ permalink: "/"
<div class="row-content">
<div>
<h3><a href="{{ project.url }}">{{ project.title }}</a></h3>
{% if project.excerpt %}
<p>{{ project.excerpt }}</p>
{% if project.summary %}
<p>{{ project.summary }}</p>
{% endif %}
{% if project.tags %}
{% include topic-tags.html tags=project.tags %}
Expand Down
4 changes: 2 additions & 2 deletions _pages/list-announcements.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ permalink: "/announcements/"
{% endif %}
</small>
</p>
{% if post.excerpt %}
<p>{{ post.excerpt }}</p>
{% if post.summary %}
<p>{{ post.summary }}</p>
{% else %}
<p>{{ post.content | strip_html | truncatewords: 30 }}</p>
{% endif %}
Expand Down
12 changes: 6 additions & 6 deletions _pages/list-projects.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ permalink: "/projects/"
{% endif%}
<div class="card-body">
<h3><a href="{{ project.url }}">{{ project.title }}</a></h3>
{% if project.excerpt %}
<p>{{ project.excerpt }}</p>
{% if project.summary %}
<p>{{ project.summary }}</p>
{% endif %}
{% if project.tags %}
{% include topic-tags.html tags=project.tags %}
Expand Down Expand Up @@ -88,8 +88,8 @@ permalink: "/projects/"
{% endif%}
<div>
<h3><a href="{{ project.url }}">{{ project.title }}</a></h3>
{% if project.excerpt %}
<p>{{ project.excerpt }}</p>
{% if project.summary %}
<p>{{ project.summary }}</p>
{% endif %}
{% if project.tags %}
{% include topic-tags.html tags=project.tags %}
Expand Down Expand Up @@ -137,8 +137,8 @@ permalink: "/projects/"

<div>
<h3><a href="{{ project.url }}">{{ project.title }}</a></h3>
{% if project.excerpt %}
<p>{{ project.excerpt }}</p>
{% if project.summary %}
<p>{{ project.summary }}</p>
{% endif %}
{% if project.tags %}
{% include topic-tags.html tags=project.tags %}
Expand Down
Loading