deneljs 0.0.0-stage → 1.0.0
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/LICENSE +21 -0
- package/README.md +57 -2
- package/drizzle/0000_lonely_reptil.sql +27 -0
- package/drizzle/0001_misty_wendigo.sql +74 -0
- package/drizzle/meta/0000_snapshot.json +179 -0
- package/drizzle/meta/0001_snapshot.json +492 -0
- package/drizzle/meta/_journal.json +20 -0
- package/package.json +55 -4
- package/src/admin/auth.ts +851 -0
- package/src/admin/layout.ts +419 -0
- package/src/admin/pages/categories.ts +223 -0
- package/src/admin/pages/dashboard.ts +192 -0
- package/src/admin/pages/media.ts +270 -0
- package/src/admin/pages/posts.ts +804 -0
- package/src/admin/pages/settings.ts +169 -0
- package/src/admin/pages/themes.ts +461 -0
- package/src/admin/pages/users.ts +501 -0
- package/src/admin/routes.ts +455 -0
- package/src/admin/tiptap-bundle.ts +48 -0
- package/src/admin/tiptap-entry.ts +226 -0
- package/src/ai/generator.ts +296 -0
- package/src/ai/index.ts +22 -0
- package/src/ai/schema.ts +13 -0
- package/src/ai/spec.ts +193 -0
- package/src/cli.ts +151 -0
- package/src/db/index.ts +278 -0
- package/src/db/schema.ts +115 -0
- package/src/engine/index.ts +52 -0
- package/src/engine/renderer.ts +533 -0
- package/src/engine/sandbox.ts +108 -0
- package/src/engine/schema.ts +71 -0
- package/src/engine/validator.ts +404 -0
- package/src/routes/admin-api.ts +1035 -0
- package/src/routes/posts.ts +294 -0
- package/src/routes/uploads.ts +119 -0
- package/src/server.ts +672 -0
- package/src/utils/sanitize-html.ts +145 -0
- package/themes/.gitkeep +1 -0
- package/themes/default/assets/style.css +799 -0
- package/themes/default/layouts/base.liquid +31 -0
- package/themes/default/layouts/home.liquid +180 -0
- package/themes/default/layouts/page.liquid +21 -0
- package/themes/default/layouts/post.liquid +55 -0
- package/themes/default/partials/footer.liquid +33 -0
- package/themes/default/partials/navbar.liquid +49 -0
- package/themes/default/theme.json +59 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>{% if page.meta_title and page.meta_title != "" %}{{ page.meta_title }} — {{ site.title }}{% elsif page.title and page.title != "" %}{{ page.title }} — {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
|
|
7
|
+
{% if page.meta_description and page.meta_description != "" %}
|
|
8
|
+
<meta name="description" content="{{ page.meta_description }}">
|
|
9
|
+
{% elsif site.seo_default_desc and site.seo_default_desc != "" %}
|
|
10
|
+
<meta name="description" content="{{ site.seo_default_desc }}">
|
|
11
|
+
{% endif %}
|
|
12
|
+
{% if site.favicon and site.favicon != "" %}
|
|
13
|
+
<link rel="icon" href="{{ site.favicon }}">
|
|
14
|
+
{% endif %}
|
|
15
|
+
<link rel="stylesheet" href="/themes/default/assets/style.css">
|
|
16
|
+
<style>
|
|
17
|
+
:root {
|
|
18
|
+
--primary-color: {{ theme.settings.primary_color }};
|
|
19
|
+
}
|
|
20
|
+
</style>
|
|
21
|
+
</head>
|
|
22
|
+
<body data-font="{{ theme.settings.font_style }}" data-surface="{{ theme.settings.surface_style }}">
|
|
23
|
+
{% render 'navbar', site: site, theme: theme, page: page %}
|
|
24
|
+
|
|
25
|
+
<main class="container site-main">
|
|
26
|
+
{% block content %}{% endblock %}
|
|
27
|
+
</main>
|
|
28
|
+
|
|
29
|
+
{% render 'footer', site: site, theme: theme %}
|
|
30
|
+
</body>
|
|
31
|
+
</html>
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
{% layout 'base' %}
|
|
2
|
+
|
|
3
|
+
{% block content %}
|
|
4
|
+
{% if page.current_category %}
|
|
5
|
+
<section class="hero hero-archive">
|
|
6
|
+
<span class="hero-badge">Category</span>
|
|
7
|
+
<h1>{{ page.current_category.name }}</h1>
|
|
8
|
+
{% if page.current_category.description and page.current_category.description != "" %}
|
|
9
|
+
<p class="hero-subtitle">{{ page.current_category.description }}</p>
|
|
10
|
+
{% else %}
|
|
11
|
+
<p class="hero-subtitle">Browse published articles filed under {{ page.current_category.name }}.</p>
|
|
12
|
+
{% endif %}
|
|
13
|
+
<div class="hero-actions">
|
|
14
|
+
<a class="hero-link" href="/">← Back to all articles</a>
|
|
15
|
+
</div>
|
|
16
|
+
</section>
|
|
17
|
+
{% elsif page.search_query and page.search_query != "" %}
|
|
18
|
+
<section class="hero hero-archive">
|
|
19
|
+
<span class="hero-badge">Search</span>
|
|
20
|
+
<h1>Results for “{{ page.search_query }}”</h1>
|
|
21
|
+
<p class="hero-subtitle">
|
|
22
|
+
{% if page.pagination %}
|
|
23
|
+
Found {{ page.pagination.total_posts }} matching {% if page.pagination.total_posts == 1 %}article{% else %}articles{% endif %}.
|
|
24
|
+
{% else %}
|
|
25
|
+
Showing matching published articles.
|
|
26
|
+
{% endif %}
|
|
27
|
+
</p>
|
|
28
|
+
<div class="hero-actions">
|
|
29
|
+
<a class="hero-link" href="/">Clear search</a>
|
|
30
|
+
</div>
|
|
31
|
+
</section>
|
|
32
|
+
{% else %}
|
|
33
|
+
<section class="hero">
|
|
34
|
+
{% if theme.settings.hero_badge and theme.settings.hero_badge != "" %}
|
|
35
|
+
<span class="hero-badge">{{ theme.settings.hero_badge }}</span>
|
|
36
|
+
{% endif %}
|
|
37
|
+
<h1>{{ theme.settings.hero_title }}</h1>
|
|
38
|
+
<p class="hero-subtitle">{{ theme.settings.hero_subtitle }}</p>
|
|
39
|
+
<form class="hero-search" action="/" method="get" role="search">
|
|
40
|
+
<input
|
|
41
|
+
type="search"
|
|
42
|
+
name="q"
|
|
43
|
+
value="{{ page.search_query | default: '' }}"
|
|
44
|
+
placeholder="Search articles by title or topic..."
|
|
45
|
+
aria-label="Search articles"
|
|
46
|
+
>
|
|
47
|
+
<button type="submit">Search</button>
|
|
48
|
+
</form>
|
|
49
|
+
</section>
|
|
50
|
+
{% endif %}
|
|
51
|
+
|
|
52
|
+
{% if site.categories.size > 0 %}
|
|
53
|
+
<section class="filter-bar" aria-label="Browse by category">
|
|
54
|
+
<div class="category-pills">
|
|
55
|
+
<a class="filter-pill {% unless page.current_category %}is-active{% endunless %}" href="/">All Posts</a>
|
|
56
|
+
{% for cat in site.categories %}
|
|
57
|
+
<a
|
|
58
|
+
class="filter-pill {% if page.current_category and page.current_category.slug == cat.slug %}is-active{% endif %}"
|
|
59
|
+
href="/category/{{ cat.slug }}"
|
|
60
|
+
>
|
|
61
|
+
<span>{{ cat.name }}</span>
|
|
62
|
+
{% if cat.post_count != nil %}
|
|
63
|
+
<span class="pill-count">{{ cat.post_count }}</span>
|
|
64
|
+
{% endif %}
|
|
65
|
+
</a>
|
|
66
|
+
{% endfor %}
|
|
67
|
+
</div>
|
|
68
|
+
</section>
|
|
69
|
+
{% endif %}
|
|
70
|
+
|
|
71
|
+
<section class="posts-section">
|
|
72
|
+
<div class="section-header">
|
|
73
|
+
<h2 class="section-heading">
|
|
74
|
+
{% if page.current_category %}
|
|
75
|
+
Articles in {{ page.current_category.name }}
|
|
76
|
+
{% elsif page.search_query and page.search_query != "" %}
|
|
77
|
+
Matching Articles
|
|
78
|
+
{% else %}
|
|
79
|
+
Latest Posts
|
|
80
|
+
{% endif %}
|
|
81
|
+
</h2>
|
|
82
|
+
{% if page.pagination and page.pagination.total_posts > 0 %}
|
|
83
|
+
<span class="section-meta">{{ page.pagination.total_posts }} {% if page.pagination.total_posts == 1 %}post{% else %}posts{% endif %}</span>
|
|
84
|
+
{% endif %}
|
|
85
|
+
</div>
|
|
86
|
+
|
|
87
|
+
{% if posts.size > 0 %}
|
|
88
|
+
<div class="posts-grid">
|
|
89
|
+
{% for post in posts %}
|
|
90
|
+
<article class="post-card">
|
|
91
|
+
{% if post.featured_image and post.featured_image != "" %}
|
|
92
|
+
<a class="post-card-cover" href="/post/{{ post.slug }}">
|
|
93
|
+
<img src="{{ post.featured_image }}" alt="{{ post.title }}" loading="lazy">
|
|
94
|
+
</a>
|
|
95
|
+
{% endif %}
|
|
96
|
+
|
|
97
|
+
<div class="post-card-body">
|
|
98
|
+
<div class="post-meta">
|
|
99
|
+
{% if post.category_name and post.category_slug %}
|
|
100
|
+
<a class="category-pill" href="/category/{{ post.category_slug }}">{{ post.category_name }}</a>
|
|
101
|
+
{% endif %}
|
|
102
|
+
<time datetime="{{ post.created_at | date: '%Y-%m-%d' }}">
|
|
103
|
+
{{ post.created_at | date: "%b %d, %Y" }}
|
|
104
|
+
</time>
|
|
105
|
+
</div>
|
|
106
|
+
|
|
107
|
+
<h3 class="post-title">
|
|
108
|
+
<a href="/post/{{ post.slug }}">{{ post.title }}</a>
|
|
109
|
+
</h3>
|
|
110
|
+
|
|
111
|
+
<p class="post-excerpt">
|
|
112
|
+
{% if post.excerpt and post.excerpt != "" %}
|
|
113
|
+
{{ post.excerpt | truncate: 160 }}
|
|
114
|
+
{% else %}
|
|
115
|
+
{{ post.content | replace: "</", " </" | replace: "<br", " <br" | strip_html | truncate: 160 }}
|
|
116
|
+
{% endif %}
|
|
117
|
+
</p>
|
|
118
|
+
|
|
119
|
+
<div class="post-card-footer">
|
|
120
|
+
{% if post.author_name and post.author_name != "" %}
|
|
121
|
+
<span class="post-author">By {{ post.author_name }}</span>
|
|
122
|
+
{% else %}
|
|
123
|
+
<span></span>
|
|
124
|
+
{% endif %}
|
|
125
|
+
<a class="read-more" href="/post/{{ post.slug }}">Read article →</a>
|
|
126
|
+
</div>
|
|
127
|
+
</div>
|
|
128
|
+
</article>
|
|
129
|
+
{% endfor %}
|
|
130
|
+
</div>
|
|
131
|
+
|
|
132
|
+
{% if page.pagination and page.pagination.total_pages > 1 %}
|
|
133
|
+
<nav class="pagination" aria-label="Pagination">
|
|
134
|
+
<div class="pagination-info">
|
|
135
|
+
Page {{ page.pagination.page }} of {{ page.pagination.total_pages }}
|
|
136
|
+
</div>
|
|
137
|
+
<div class="pagination-actions">
|
|
138
|
+
{% if page.pagination.has_prev %}
|
|
139
|
+
<a
|
|
140
|
+
class="page-btn"
|
|
141
|
+
href="?{% if page.search_query and page.search_query != "" %}q={{ page.search_query | url_encode }}&{% endif %}page={{ page.pagination.prev_page }}"
|
|
142
|
+
>
|
|
143
|
+
← Previous
|
|
144
|
+
</a>
|
|
145
|
+
{% else %}
|
|
146
|
+
<span class="page-btn is-disabled">← Previous</span>
|
|
147
|
+
{% endif %}
|
|
148
|
+
|
|
149
|
+
{% if page.pagination.has_next %}
|
|
150
|
+
<a
|
|
151
|
+
class="page-btn"
|
|
152
|
+
href="?{% if page.search_query and page.search_query != "" %}q={{ page.search_query | url_encode }}&{% endif %}page={{ page.pagination.next_page }}"
|
|
153
|
+
>
|
|
154
|
+
Next →
|
|
155
|
+
</a>
|
|
156
|
+
{% else %}
|
|
157
|
+
<span class="page-btn is-disabled">Next →</span>
|
|
158
|
+
{% endif %}
|
|
159
|
+
</div>
|
|
160
|
+
</nav>
|
|
161
|
+
{% endif %}
|
|
162
|
+
{% else %}
|
|
163
|
+
<div class="empty-card">
|
|
164
|
+
<p class="empty-title">No posts found</p>
|
|
165
|
+
<p class="empty-state">
|
|
166
|
+
{% if page.search_query and page.search_query != "" %}
|
|
167
|
+
No published posts matched “{{ page.search_query }}”. Try another keyword or view all articles.
|
|
168
|
+
{% elsif page.current_category %}
|
|
169
|
+
No published posts have been added to {{ page.current_category.name }} yet.
|
|
170
|
+
{% else %}
|
|
171
|
+
No published posts yet. Create your first post from the admin dashboard.
|
|
172
|
+
{% endif %}
|
|
173
|
+
</p>
|
|
174
|
+
{% if page.search_query and page.search_query != "" or page.current_category %}
|
|
175
|
+
<a class="page-btn" href="/">View all posts</a>
|
|
176
|
+
{% endif %}
|
|
177
|
+
</div>
|
|
178
|
+
{% endif %}
|
|
179
|
+
</section>
|
|
180
|
+
{% endblock %}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{% layout 'base' %}
|
|
2
|
+
|
|
3
|
+
{% block content %}
|
|
4
|
+
<article class="single-post">
|
|
5
|
+
<nav class="breadcrumbs" aria-label="Breadcrumb">
|
|
6
|
+
<a href="/">Home</a>
|
|
7
|
+
<span aria-hidden="true">/</span>
|
|
8
|
+
<span>{{ page.title }}</span>
|
|
9
|
+
</nav>
|
|
10
|
+
|
|
11
|
+
<header class="post-header">
|
|
12
|
+
<h1>{{ page.title }}</h1>
|
|
13
|
+
</header>
|
|
14
|
+
|
|
15
|
+
<div class="post-body">{{ page.content | raw }}</div>
|
|
16
|
+
|
|
17
|
+
<footer class="single-post-footer">
|
|
18
|
+
<a class="back-link" href="/">← Back to home</a>
|
|
19
|
+
</footer>
|
|
20
|
+
</article>
|
|
21
|
+
{% endblock %}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{% layout 'base' %}
|
|
2
|
+
|
|
3
|
+
{% block content %}
|
|
4
|
+
<article class="single-post">
|
|
5
|
+
<nav class="breadcrumbs" aria-label="Breadcrumb">
|
|
6
|
+
<a href="/">Home</a>
|
|
7
|
+
{% if page.category_name and page.category_slug %}
|
|
8
|
+
<span aria-hidden="true">/</span>
|
|
9
|
+
<a href="/category/{{ page.category_slug }}">{{ page.category_name }}</a>
|
|
10
|
+
{% endif %}
|
|
11
|
+
<span aria-hidden="true">/</span>
|
|
12
|
+
<span>{{ page.title }}</span>
|
|
13
|
+
</nav>
|
|
14
|
+
|
|
15
|
+
<header class="post-header">
|
|
16
|
+
{% if page.category_name and page.category_slug %}
|
|
17
|
+
<div class="post-header-badge">
|
|
18
|
+
<a class="category-pill" href="/category/{{ page.category_slug }}">{{ page.category_name }}</a>
|
|
19
|
+
</div>
|
|
20
|
+
{% endif %}
|
|
21
|
+
|
|
22
|
+
<h1>{{ page.title }}</h1>
|
|
23
|
+
|
|
24
|
+
{% if page.excerpt and page.excerpt != "" %}
|
|
25
|
+
<p class="post-lead">{{ page.excerpt }}</p>
|
|
26
|
+
{% endif %}
|
|
27
|
+
|
|
28
|
+
<div class="post-meta single-post-meta">
|
|
29
|
+
{% if page.author_name and page.author_name != "" %}
|
|
30
|
+
<span class="post-author-pill">By {{ page.author_name }}</span>
|
|
31
|
+
{% endif %}
|
|
32
|
+
{% if page.created_at %}
|
|
33
|
+
<time datetime="{{ page.created_at | date: '%Y-%m-%d' }}">
|
|
34
|
+
{{ page.created_at | date: "%B %d, %Y" }}
|
|
35
|
+
</time>
|
|
36
|
+
{% endif %}
|
|
37
|
+
</div>
|
|
38
|
+
</header>
|
|
39
|
+
|
|
40
|
+
{% if page.featured_image and page.featured_image != "" %}
|
|
41
|
+
<figure class="post-featured">
|
|
42
|
+
<img src="{{ page.featured_image }}" alt="{{ page.title }}">
|
|
43
|
+
</figure>
|
|
44
|
+
{% endif %}
|
|
45
|
+
|
|
46
|
+
<div class="post-body">{{ page.content | raw }}</div>
|
|
47
|
+
|
|
48
|
+
<footer class="single-post-footer">
|
|
49
|
+
<a class="back-link" href="/">← Back to all articles</a>
|
|
50
|
+
{% if page.category_name and page.category_slug %}
|
|
51
|
+
<a class="read-more" href="/category/{{ page.category_slug }}">More in {{ page.category_name }} →</a>
|
|
52
|
+
{% endif %}
|
|
53
|
+
</footer>
|
|
54
|
+
</article>
|
|
55
|
+
{% endblock %}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<footer class="site-footer">
|
|
2
|
+
<div class="container footer-inner">
|
|
3
|
+
<div class="footer-brand">
|
|
4
|
+
<p class="footer-title">{{ site.title }}</p>
|
|
5
|
+
{% if site.tagline and site.tagline != "" %}
|
|
6
|
+
<p class="footer-tagline">{{ site.tagline }}</p>
|
|
7
|
+
{% elsif theme.description and theme.description != "" %}
|
|
8
|
+
<p class="footer-tagline">{{ theme.description }}</p>
|
|
9
|
+
{% endif %}
|
|
10
|
+
</div>
|
|
11
|
+
|
|
12
|
+
<div class="footer-links">
|
|
13
|
+
<a href="/">All Posts</a>
|
|
14
|
+
{% if site.categories.size > 0 %}
|
|
15
|
+
{% for cat in site.categories limit: 4 %}
|
|
16
|
+
<a href="/category/{{ cat.slug }}">{{ cat.name }}</a>
|
|
17
|
+
{% endfor %}
|
|
18
|
+
{% endif %}
|
|
19
|
+
{% if site.user %}
|
|
20
|
+
<a href="/admin">Admin Panel</a>
|
|
21
|
+
{% else %}
|
|
22
|
+
<a href="/login">Sign In</a>
|
|
23
|
+
{% endif %}
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
<div class="container footer-bottom">
|
|
28
|
+
<p>© {{ "now" | date: "%Y" }} {{ site.title }}. All rights reserved.</p>
|
|
29
|
+
{% if theme.settings.show_footer_credit == "yes" %}
|
|
30
|
+
<p>Theme: {{ theme.name }} v{{ theme.version }}</p>
|
|
31
|
+
{% endif %}
|
|
32
|
+
</div>
|
|
33
|
+
</footer>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<header class="site-header">
|
|
2
|
+
<div class="container nav-inner">
|
|
3
|
+
<a class="brand" href="/">
|
|
4
|
+
{% if site.logo and site.logo != "" %}
|
|
5
|
+
<img class="brand-logo" src="{{ site.logo }}" alt="{{ site.title }}">
|
|
6
|
+
{% else %}
|
|
7
|
+
<span class="brand-mark" aria-hidden="true">{{ site.title | slice: 0, 1 | upcase }}</span>
|
|
8
|
+
{% endif %}
|
|
9
|
+
<span class="brand-text">
|
|
10
|
+
<span class="brand-title">{{ site.title }}</span>
|
|
11
|
+
{% if site.tagline and site.tagline != "" %}
|
|
12
|
+
<span class="brand-tagline">{{ site.tagline }}</span>
|
|
13
|
+
{% endif %}
|
|
14
|
+
</span>
|
|
15
|
+
</a>
|
|
16
|
+
|
|
17
|
+
<nav class="nav-links" aria-label="Primary navigation">
|
|
18
|
+
<a class="nav-link {% unless page.current_category %}is-active{% endunless %}" href="/">Home</a>
|
|
19
|
+
|
|
20
|
+
{% if site.categories.size > 0 %}
|
|
21
|
+
{% for cat in site.categories limit: 3 %}
|
|
22
|
+
<a
|
|
23
|
+
class="nav-link {% if page.current_category and page.current_category.slug == cat.slug %}is-active{% endif %}"
|
|
24
|
+
href="/category/{{ cat.slug }}"
|
|
25
|
+
>
|
|
26
|
+
{{ cat.name }}
|
|
27
|
+
</a>
|
|
28
|
+
{% endfor %}
|
|
29
|
+
{% endif %}
|
|
30
|
+
|
|
31
|
+
<form class="nav-search" action="/" method="get" role="search">
|
|
32
|
+
<input
|
|
33
|
+
type="search"
|
|
34
|
+
name="q"
|
|
35
|
+
value="{{ page.search_query | default: '' }}"
|
|
36
|
+
placeholder="Search posts..."
|
|
37
|
+
aria-label="Search posts"
|
|
38
|
+
>
|
|
39
|
+
</form>
|
|
40
|
+
|
|
41
|
+
{% if site.user %}
|
|
42
|
+
<a class="nav-cta" href="/admin">Dashboard</a>
|
|
43
|
+
{% else %}
|
|
44
|
+
<a class="nav-link" href="/login">Login</a>
|
|
45
|
+
<a class="nav-cta" href="/register">Register</a>
|
|
46
|
+
{% endif %}
|
|
47
|
+
</nav>
|
|
48
|
+
</div>
|
|
49
|
+
</header>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Default Theme",
|
|
3
|
+
"slug": "default",
|
|
4
|
+
"version": "1.1.0",
|
|
5
|
+
"author": "Antigravity CMS",
|
|
6
|
+
"description": "A refined editorial theme with customizable accent colors, surface styles, category navigation, search, and pagination.",
|
|
7
|
+
"settings": [
|
|
8
|
+
{
|
|
9
|
+
"key": "primary_color",
|
|
10
|
+
"label": "Primary Color",
|
|
11
|
+
"type": "color",
|
|
12
|
+
"default": "#2563eb"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"key": "hero_badge",
|
|
16
|
+
"label": "Hero Eyebrow Badge",
|
|
17
|
+
"type": "text",
|
|
18
|
+
"default": "Journal & Stories"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"key": "hero_title",
|
|
22
|
+
"label": "Hero Title",
|
|
23
|
+
"type": "text",
|
|
24
|
+
"default": "Welcome to My Agentic Site"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"key": "hero_subtitle",
|
|
28
|
+
"label": "Hero Subtitle",
|
|
29
|
+
"type": "text",
|
|
30
|
+
"default": "Built with Bun, ElysiaJS, Drizzle ORM, and sandboxed LiquidJS templates."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"key": "font_style",
|
|
34
|
+
"label": "Font Style",
|
|
35
|
+
"type": "select",
|
|
36
|
+
"default": "sans",
|
|
37
|
+
"options": ["sans", "serif", "mono"]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"key": "surface_style",
|
|
41
|
+
"label": "Surface Style",
|
|
42
|
+
"type": "select",
|
|
43
|
+
"default": "elevated",
|
|
44
|
+
"options": ["elevated", "minimal", "editorial"]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"key": "show_footer_credit",
|
|
48
|
+
"label": "Show Theme Credit in Footer",
|
|
49
|
+
"type": "select",
|
|
50
|
+
"default": "yes",
|
|
51
|
+
"options": ["yes", "no"]
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"layouts": {
|
|
55
|
+
"home": "home.liquid",
|
|
56
|
+
"post": "post.liquid",
|
|
57
|
+
"page": "page.liquid"
|
|
58
|
+
}
|
|
59
|
+
}
|