Skip to content

Commit

Permalink
Typogrify a few more locations
Browse files Browse the repository at this point in the history
  • Loading branch information
harrislapiroff committed Aug 5, 2017
1 parent b4bb854 commit 4a84ddf
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion blog/templates/blog/_about_org.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load wagtailcore_tags wagtailimages_tags %}
{% load wagtailcore_tags wagtailimages_tags typogrify_tags %}

{% if organization.description or organization.logo %}
<div class="blog-about">
Expand Down
2 changes: 1 addition & 1 deletion blog/templates/blog/_blog_details.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load wagtailcore_tags typogrify_tags %}
{% load wagtailcore_tags %}
<aside class="blog-details">
{% if page.author or page.organization %}
<div class="blog-details__summary">
Expand Down
6 changes: 3 additions & 3 deletions blog/templates/blog/_blog_tease.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{# This is used both on the blog index and the homepage sidebar. #}

{% load wagtailcore_tags %}
{% load wagtailcore_tags typogrify_tags %}

<div class="blog-tease blog-tease--{{ location }}{% if single_column %} blog-tease--horizontal{% endif %}">
{% if page.teaser_image and location == "blog-index" %}
Expand All @@ -9,12 +9,12 @@
<div class="blog-tease__body--{{ location }}">
<h3 class="blog-tease__title blog-tease__title--{{ location }}">
<a class="blog-tease__title-link" href="{% pageurl page %}">
{{ page.title }}
{{ page.title|typogrify }}
</a>
</h3>

<div class="blog-tease__tease blog-tease__tease--{{ location }}">
{{ page.teaser_text|richtext }}
{{ page.teaser_text|richtext|typogrify }}
</div>

<ul class="blog-tease__organization">
Expand Down
2 changes: 1 addition & 1 deletion home/templates/home/_featured_incidents.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load wagtailcore_tags %}
{% load wagtailcore_tags typogrify_tags %}

{% if page.incident_index_page %}

Expand Down
4 changes: 2 additions & 2 deletions home/templates/home/_incidents_sidebar.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% load wagtailcore_tags %}
{% load wagtailcore_tags typogrify_tags %}

{% if page.incident_index_page %}
<section class="incidents-sidebar">
Expand All @@ -11,7 +11,7 @@
<li class="incidents-sidebar__item">
<a class="incidents-sidebar__link" href="{% pageurl incident %}">
<div class="incidents-sidebar__title">
{{ incident.title }}
{{ incident.title|typogrify }}
</div>
<time class="incidents-sidebar__date" datetime="{{ incident.date }}">
{% include "incident/_incident_date.html" %}
Expand Down
6 changes: 3 additions & 3 deletions incident/templates/incident/_incident.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@
{% if teaser %}
<h3 class='incident__title'>
<a class="incident__title-link" href="{% pageurl incident %}">
{{ incident.title }}
{{ incident.title|typogrify }}
</a>
</h3>
{% else %}
<h2 class="incident__title">
{{ incident.title }}
{{ incident.title|typogrify }}
</h2>
{% endif %}
<div class='incident__date'>
Expand Down Expand Up @@ -107,7 +107,7 @@ <h4 class="related-links__header">
<ol class="related-links__list">
{% for link in incident.links.all %}
<li class="related-links__item">
<a href="{{ link.url }}">{{link.title}}</a>
<a href="{{ link.url }}">{{ link.title|typogrify }}</a>
{% if link.publication %}
<span class="related-links__text">
({{ link.publication }})
Expand Down

0 comments on commit 4a84ddf

Please sign in to comment.