Build scripts
This commit is contained in:
parent
b5d04b7360
commit
27e1beade3
@ -4,6 +4,10 @@
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"build": "run-s \"build:*\"",
|
||||
"build:props": "node scripts/custom-props.js",
|
||||
"build:css": "postcss src/css/styles.css --base src --dir _site/assets",
|
||||
"build:eleventy": "eleventy",
|
||||
"serve": "run-p \"serve:*\"",
|
||||
"serve:props": "node scripts/custom-props.js",
|
||||
"serve:css": "postcss src/css/styles.css --base src --dir _site/assets -w",
|
||||
|
@ -6,9 +6,12 @@ eleventyComputed:
|
||||
description: "{{ post.yoast_head_json.description }}"
|
||||
---
|
||||
<main class="wrapper-md stack-lg">
|
||||
<article class="stack-md">
|
||||
<h1><a href="{{ post.url }}">{{ title | safe }}</a></h1>
|
||||
<article class="stack-md h-entry">
|
||||
<h1 class="p-name"><a href="{{ post.url }}">{{ title | safe }}</a></h1>
|
||||
{{ post.excerpt.rendered | safe }}
|
||||
<div class="e-content stack-md">
|
||||
{{ content | safe }}
|
||||
</div>
|
||||
</article>
|
||||
|
||||
<section class="stack-sm">
|
||||
|
@ -8,4 +8,8 @@ article {
|
||||
list-style: initial;
|
||||
padding: 0 var(--space-size-m);
|
||||
}
|
||||
|
||||
.p-summary {
|
||||
display: none;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user