Removed individual demo configs.
This commit is contained in:
@@ -1,79 +0,0 @@
|
|||||||
# The Forager's Journal - Blog Demo Configuration
|
|
||||||
|
|
||||||
site_id: "mushroom-blog"
|
|
||||||
|
|
||||||
# Discovery settings for this demo
|
|
||||||
discovery:
|
|
||||||
enabled: true
|
|
||||||
aggressive: false
|
|
||||||
containers: true
|
|
||||||
individual: true
|
|
||||||
|
|
||||||
# Content types for future blog functionality
|
|
||||||
content_types:
|
|
||||||
blog_posts:
|
|
||||||
template: "templates/blog-post.html"
|
|
||||||
output_pattern: "posts/{slug}.html"
|
|
||||||
fields:
|
|
||||||
title: text
|
|
||||||
subtitle: text
|
|
||||||
content: insertr-content
|
|
||||||
excerpt: text
|
|
||||||
published_date: date
|
|
||||||
author: text
|
|
||||||
category: text
|
|
||||||
tags: list
|
|
||||||
featured_image: image
|
|
||||||
featured_image_alt: text
|
|
||||||
|
|
||||||
pages:
|
|
||||||
template: "templates/page.html"
|
|
||||||
output_pattern: "{slug}.html"
|
|
||||||
fields:
|
|
||||||
title: text
|
|
||||||
content: insertr-content
|
|
||||||
meta_description: text
|
|
||||||
|
|
||||||
# Example content structure for blog posts
|
|
||||||
sample_content:
|
|
||||||
chanterelles_guide:
|
|
||||||
type: blog_posts
|
|
||||||
title: "Golden Treasures: A Guide to Foraging Chanterelles"
|
|
||||||
subtitle: "Discover the secrets to finding these golden beauties"
|
|
||||||
category: "Field Guide"
|
|
||||||
published_date: "2024-03-15"
|
|
||||||
author: "Elena Rodriguez"
|
|
||||||
tags: ["Chanterelles", "Foraging", "Identification", "Sustainable Harvesting"]
|
|
||||||
featured_image: "https://images.unsplash.com/photo-1518264344460-b2b8c61dbeda"
|
|
||||||
featured_image_alt: "Golden chanterelle mushrooms growing in forest moss"
|
|
||||||
|
|
||||||
spring_safety:
|
|
||||||
type: blog_posts
|
|
||||||
title: "Spring Safety: Avoiding Dangerous Look-Alikes"
|
|
||||||
subtitle: "Essential knowledge for safe spring foraging"
|
|
||||||
category: "Safety"
|
|
||||||
published_date: "2024-03-08"
|
|
||||||
author: "Elena Rodriguez"
|
|
||||||
tags: ["Safety", "Identification", "Spring Foraging", "Look-alikes"]
|
|
||||||
|
|
||||||
mushroom_risotto:
|
|
||||||
type: blog_posts
|
|
||||||
title: "From Forest to Table: Wild Mushroom Risotto"
|
|
||||||
subtitle: "Transform your harvest into an elegant dinner"
|
|
||||||
category: "Recipes"
|
|
||||||
published_date: "2024-02-28"
|
|
||||||
author: "Elena Rodriguez"
|
|
||||||
tags: ["Recipes", "Cooking", "Chanterelles", "Wild Mushrooms"]
|
|
||||||
|
|
||||||
# SEO and metadata settings
|
|
||||||
seo:
|
|
||||||
site_title: "The Forager's Journal"
|
|
||||||
site_description: "Expert guides to mushroom foraging, identification, and sustainable harvesting practices from an experienced mycophile."
|
|
||||||
author: "Elena Rodriguez"
|
|
||||||
language: "en"
|
|
||||||
|
|
||||||
# Social media settings
|
|
||||||
social:
|
|
||||||
twitter_handle: "@foragers_journal"
|
|
||||||
facebook_page: "TheForagersJournal"
|
|
||||||
instagram: "@foragers.journal"
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
# Insertr Configuration for Default Demo Site
|
|
||||||
# Main configuration for the default demo site
|
|
||||||
|
|
||||||
# Global settings
|
|
||||||
dev_mode: true # Development mode for demos
|
|
||||||
|
|
||||||
# Database configuration
|
|
||||||
database:
|
|
||||||
path: "./insertr.db" # Shared database with main config
|
|
||||||
|
|
||||||
# Demo-specific configuration
|
|
||||||
demo:
|
|
||||||
site_id: "default" # Unique site ID for default demo
|
|
||||||
inject_demo_gate: true # Auto-inject demo gate if no gates exist
|
|
||||||
mock_auth: true # Use mock authentication for demos
|
|
||||||
api_endpoint: "http://localhost:8080/api/content"
|
|
||||||
demo_port: 3000 # Port for live-server
|
|
||||||
|
|
||||||
# CLI enhancement configuration
|
|
||||||
cli:
|
|
||||||
site_id: "default" # Site ID for this demo
|
|
||||||
output: "./demos/default_enhanced" # Output directory for enhanced files
|
|
||||||
inject_demo_gate: true # Inject demo gate in development mode
|
|
||||||
|
|
||||||
# Authentication configuration (for demo)
|
|
||||||
auth:
|
|
||||||
provider: "mock" # Mock auth for demos
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
# Insertr Configuration for Simple Demo Site
|
|
||||||
# Specific configuration for the simple test site demo
|
|
||||||
|
|
||||||
# Global settings
|
|
||||||
dev_mode: true # Development mode for demos
|
|
||||||
|
|
||||||
# Database configuration
|
|
||||||
database:
|
|
||||||
path: "./insertr.db" # Shared database with main config
|
|
||||||
|
|
||||||
# Demo-specific configuration
|
|
||||||
demo:
|
|
||||||
site_id: "simple" # Unique site ID for simple demo
|
|
||||||
inject_demo_gate: true # Auto-inject demo gate if no gates exist
|
|
||||||
mock_auth: true # Use mock authentication for demos
|
|
||||||
api_endpoint: "http://localhost:8080/api/content"
|
|
||||||
demo_port: 3000 # Port for live-server
|
|
||||||
|
|
||||||
# CLI enhancement configuration
|
|
||||||
cli:
|
|
||||||
site_id: "simple" # Site ID for this demo
|
|
||||||
output: "./demos/simple_enhanced" # Output directory for enhanced files
|
|
||||||
inject_demo_gate: true # Inject demo gate in development mode
|
|
||||||
|
|
||||||
# Authentication configuration (for demo)
|
|
||||||
auth:
|
|
||||||
provider: "mock" # Mock auth for demos
|
|
||||||
@@ -22,9 +22,6 @@ window.Insertr = {
|
|||||||
|
|
||||||
// Initialize the library
|
// Initialize the library
|
||||||
init(options = {}) {
|
init(options = {}) {
|
||||||
console.log('🔧 Insertr v1.0.0 initializing... (Hot Reload Ready)');
|
|
||||||
|
|
||||||
// Load CSS first
|
|
||||||
this.loadStyles(options);
|
this.loadStyles(options);
|
||||||
|
|
||||||
// Initialize core business logic modules
|
// Initialize core business logic modules
|
||||||
|
|||||||
Reference in New Issue
Block a user