Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
  • 2 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 14 additions and 17 deletions.
  1. +14 −1 templates/article.html
  2. +0 −16 templates/cinematic.html
View
15 templates/article.html
@@ -12,7 +12,20 @@
{% block main %}
<div class="in">
<article class="article pre-01 col-06">
- {{ page.html | safe }}
+ <header class="page-header">
+ <h1 class="article-title">{{ page.title }}</h1>
+ {% if page.metadata.synopsis %}
+ <div class="article-synopsis">{{ page.metadata.synopsis }}</div>
+ {% endif %}
+ {% if page.metadata.author %}
+ <div class="article-byline">
+ {{ page.metadata.author }}, {{ moment(page.date).format('MMMM D') }}
+ </div>
+ {% endif %}
+ </header>
+ <div class="article-main">
+ {{ page.html | safe }}
+ </div>
</article>
</div>
{% endblock %}
View
16 templates/cinematic.html
@@ -1,16 +0,0 @@
-{% extends "base.html" %}
-
-{% block styles %}
- <link rel="stylesheet" href="/vendor/normalize.css">
- <link rel="stylesheet" href="/assets/col.css">
- <link rel="stylesheet" href="/assets/site.css">
- {% for url in page.metadata.styles %}
- <link rel="stylesheet" href="{{ url }}">
- {% endfor %}
-{% endblock %}
-
-{% block main %}
- <div class="in section">
- <div class="col-06">{{ typogr(page.html).typogrify() | safe }}</div>
- </div>
-{% endblock %}

No commit comments for this range

Something went wrong with that request. Please try again.