Support _styles in page layout as in post and distill (#2694)
As desribed in the title.
This commit is contained in:
parent
92dbc393e7
commit
8e9cf03ee9
@ -1,6 +1,13 @@
|
||||
---
|
||||
layout: default
|
||||
---
|
||||
{% if page._styles %}
|
||||
<!-- Page/Post style -->
|
||||
<style type="text/css">
|
||||
{{ page._styles }}
|
||||
</style>
|
||||
{% endif %}
|
||||
|
||||
<div class="post">
|
||||
<header class="post-header">
|
||||
<h1 class="post-title">{{ page.title }}</h1>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user