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