cosmolo 0.3.2 → 0.3.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cosmolo",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "cosmolo": "src/cli/index.ts"
@@ -0,0 +1,6 @@
1
+ {
2
+ "tech": {
3
+ "label": "Technology",
4
+ "description": "Articles about software, tools, and the web."
5
+ }
6
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "url": "https://your-site.example.com",
3
+ "name": "Your Site Name",
4
+ "description": "A content site built with Cosmolo.",
5
+ "twitterHandle": "@yourhandle",
6
+ "fallbackCategoryLabel": "Other",
7
+ "articlesPerPage": 10,
8
+ "ogImage": { "mode": "static" },
9
+ "api": { "articleBody": "html" }
10
+ }
@@ -1,10 +1,10 @@
1
1
  import { resolveConfig } from 'cosmolo';
2
2
 
3
3
  const config = resolveConfig({
4
- // articlesDir: 'src/content/articles',
5
- // pagesDir: 'src/content/pages',
6
- // siteConfigPath: 'config/site.json',
7
- // categoriesConfigPath: 'config/categories.json',
4
+ articlesDir: 'src/content/articles',
5
+ pagesDir: 'src/content/pages',
6
+ siteConfigPath: 'config/site.json',
7
+ categoriesConfigPath: 'config/categories.json',
8
8
  });
9
9
 
10
10
  export default config;