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