Style pages
This commit is contained in:
parent
4e5a53a19b
commit
9624f6bd76
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user