Add post component
This commit is contained in:
parent
4e2838ad36
commit
9337c69aa8
|
@ -9,6 +9,7 @@
|
||||||
@import 'components/listing'
|
@import 'components/listing'
|
||||||
@import 'components/markup'
|
@import 'components/markup'
|
||||||
@import 'components/note'
|
@import 'components/note'
|
||||||
|
@import 'components/post'
|
||||||
@import 'components/slides'
|
@import 'components/slides'
|
||||||
@import 'components/table'
|
@import 'components/table'
|
||||||
@import 'components/talk/video'
|
@import 'components/talk/video'
|
||||||
|
|
|
@ -1,8 +1,5 @@
|
||||||
.markup
|
.markup
|
||||||
@apply leading-normal -mb-6
|
@apply leading-normal
|
||||||
|
|
||||||
> *
|
|
||||||
@apply mb-6
|
|
||||||
|
|
||||||
h2,
|
h2,
|
||||||
h3
|
h3
|
||||||
|
|
5
assets/sass/components/post.sass
Normal file
5
assets/sass/components/post.sass
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
.post
|
||||||
|
@apply -mb-6
|
||||||
|
|
||||||
|
> *
|
||||||
|
@apply mb-6
|
|
@ -15,7 +15,7 @@
|
||||||
{% include 'post/header' %}
|
{% include 'post/header' %}
|
||||||
{% include 'post/intro-image' %}
|
{% include 'post/intro-image' %}
|
||||||
|
|
||||||
<div class="markup mb-6">
|
<div class="markup post mb-6">
|
||||||
{% include 'post/old-post-message' %}
|
{% include 'post/old-post-message' %}
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue