@lexho111/plainblog 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Blog.js +1 -1
- package/Formatter.js +1 -1
- package/package.json +1 -1
- package/styles.min.css +1 -1
- package/styles.min.css.map +1 -1
package/Blog.js
CHANGED
|
@@ -168,7 +168,7 @@ export default class Blog {
|
|
|
168
168
|
// load articles
|
|
169
169
|
|
|
170
170
|
// reload styles and scripts on (every) request
|
|
171
|
-
this.loadScripts(); this.loadStyles();
|
|
171
|
+
//this.loadScripts(); this.loadStyles();
|
|
172
172
|
|
|
173
173
|
const html = await this.toHTML(); // render this blog to HTML
|
|
174
174
|
res.writeHead(200, { "Content-Type": "text/html; charset=UTF-8" });
|
package/Formatter.js
CHANGED
package/package.json
CHANGED
package/styles.min.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.
|
|
1
|
+
.grid{border:0 solid #000;display:grid;gap:.25rem;grid-template-columns:1fr}.grid article{border:0 solid #ccc;border-radius:4px;min-width:0;overflow-wrap:break-word;padding:.25rem}body{background-color:#fdfdfd;font-family:Arial}
|
|
2
2
|
/*# sourceMappingURL=styles.min.css.map */
|
package/styles.min.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["styles-compiled.css","styles.css"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"sources":["styles-compiled.css","styles.css"],"names":[],"mappings":"AAAA,MAIA,mBAAA,CAHA,YAAA,CAEA,UAAA,CADA,yBAGA,CACA,cAEA,mBAAA,CACA,iBAAA,CACA,WAAA,CACA,wBAAA,CAJA,cAKA,CCZA,KACA,wBAAA,CACA,iBACA","file":"styles.min.css","sourcesContent":[".grid {\n display: grid;\n grid-template-columns: 1fr;\n gap: 0.25rem;\n border: 0px solid black;\n}\n.grid article {\n padding: 0.25rem;\n border: 0px solid #ccc;\n border-radius: 4px;\n min-width: 0; /* Allow grid items to shrink */\n overflow-wrap: break-word; /* Break long words */\n}","body {\n background-color: rgb(253, 253, 253);\n font-family: Arial;\n}\n"]}
|