Style pages

This commit is contained in:
2018-09-16 04:05:37 +02:00
parent 4e5a53a19b
commit 9624f6bd76
2 changed files with 20 additions and 18 deletions

View File

@@ -5,7 +5,7 @@
class="{% if is_reply %}is-reply{% else %}is-first{% endif %}") class="{% if is_reply %}is-reply{% else %}is-first{% endif %}")
.comment-avatar .comment-avatar
img(src="{{ comment._user.email | gravatar }}") img(src="{{ comment._user.email | gravatar }}", alt="{{ comment._user.full_name }}")
.comment-content .comment-content
.comment-body .comment-body

View File

@@ -1,26 +1,28 @@
| {% extends 'projects/landing.html' %} | {% extends 'projects/landing.html' %}
include ../../../mixins/components
| {% block body %} | {% block body %}
| {% if node.picture %} .expand-image-links.imgs-fluid
header | {% if node.picture %}
img.header(src="{{ node.picture.thumbnail('h', api=api) }}") +jumbotron(
| {% endif %} "{{ node.name }}",
"{{ node._created | pretty_date }}{% if node.user.full_name %} · {{ node.user.full_name }}{% endif %}",
"{{ node.picture.thumbnail('h', api=api) }}",
"{{ node.url }}")
| {% endif %}
#node-container .container.pb-5
#node-overlay .row
.col-8.mx-auto
h2.pt-5.text-center {{node.name}}
.node-details-container.page.expand-image-links.imgs-fluid | {% if node.description %}
.node-details-description
| {{ node | markdowned('description') }}
| {% endif %}
h2.pt-3.text-center {{node.name}} small.text-muted
span(title="created {{ node._created | pretty_date }}") Updated {{ node._updated | pretty_date }}
hr
| {% if node.description %}
| {{ node | markdowned('description') }}
| {% endif %}
small.text-muted
span(title="created {{ node._created | pretty_date }}") Updated {{ node._updated | pretty_date }}
include ../_scripts include ../_scripts