_layouts/writer.html in askclass-news-theme-0.2.1 vs _layouts/writer.html in askclass-news-theme-0.2.2

- old
+ new

@@ -10,10 +10,19 @@ <!doctype html> <html lang="en"> {% include header.html %} <body> - {% include logo.html image=site.logo.alt_image size=site.logo.alt_size title=author %} + {% include logo.html image=site.acn.logo.alt_image size=site.acn.logo.alt_size title=author %} + + {% if content %} + <article class="{{ page.style | default: 'center' }}" > + {% if page.image %} + <img src="{{ page.image }}" alt="{{ author }}" width="{{ page.size }}" /> + {% endif %} + {{ content }} + </article> + {% endif %} {% if posts.size and author %} {% include grid.html posts=posts %} {% endif %}