{{ item.artifactType | escape }}
-{{ item.title | escape }}
-{{ item.summary | escape }}
-{{ page.contentModel }}
+{{ page.title }}
+{{ page.summary }}
+diff --git a/deploy/labyricorn-control-plane.service b/deploy/labyricorn-control-plane.service
index 0a7448d..ebea746 100644
--- a/deploy/labyricorn-control-plane.service
+++ b/deploy/labyricorn-control-plane.service
@@ -12,6 +12,9 @@ Environment=NODE_ENV=production
Environment=HOST=127.0.0.1
Environment=PORT=3001
Environment=LABYRICORN_BUILD_ROOT=/var/lib/website-engine/builds
+Environment=LABYRICORN_SITE_DEFINITION_REPOSITORY=/var/lib/website-engine/repositories/labyricorn-site-git-repo
+Environment=LABYRICORN_SITE_DEFINITION_REF=refs/heads/main
+Environment=LABYRICORN_SITE_DEFINITION_PATH=.
ExecStart=/usr/bin/node /opt/website-engine-control-plane/dist/server.cjs
Restart=on-failure
RestartSec=5s
diff --git a/deploy/nginx-website-engine.conf b/deploy/nginx-website-engine.conf
index 755ed1c..eca7103 100644
--- a/deploy/nginx-website-engine.conf
+++ b/deploy/nginx-website-engine.conf
@@ -27,3 +27,17 @@ server {
error_page 404 /404.html;
}
}
+
+server {
+ listen 8080 default_server;
+ listen [::]:8080 default_server;
+ server_name _;
+
+ root /var/lib/website-engine/builds/staging;
+ index index.html;
+
+ location / {
+ try_files $uri $uri/ =404;
+ error_page 404 /404.html;
+ }
+}
diff --git a/packages/site-definition/.labyricorn/site.yml b/packages/site-definition/.labyricorn/site.yml
new file mode 100644
index 0000000..238ba1f
--- /dev/null
+++ b/packages/site-definition/.labyricorn/site.yml
@@ -0,0 +1,8 @@
+version: 1
+enabled: true
+artifacts:
+ content_paths:
+ - pages
+ - articles
+ - projects
+ media_paths: []
diff --git a/packages/site-definition/.theme/templates/content/article.liquid b/packages/site-definition/.theme/templates/content/article.liquid
index fc33088..4260ad3 100644
--- a/packages/site-definition/.theme/templates/content/article.liquid
+++ b/packages/site-definition/.theme/templates/content/article.liquid
@@ -1,9 +1,9 @@
{{ item.artifactType | escape }} {{ item.summary | escape }} {{ page.contentModel }} {{ page.summary }}{{ item.title | escape }}
- {{ page.title }}
+
{{ project.summary | escape }}
- -The project and its publication were read from {{ project.sourceSnapshot.repository | escape }} at one exact commit.
{{ page.summary }}
+No matching devlogs in this snapshot.
{% endif %} - {% for item in project.relatedContent.devlogs %}No matching articles in this snapshot.
{% endif %} - {% for item in project.relatedContent.articles %}Engineering · Architecture · Operations
-Repository-owned presentation rendered from an exact Git commit.
+{{ page.summary }}
+No published content in this snapshot.
{% endif %} - {% for item in content %} -{{ item.artifactType | escape }}
{{ item.summary | escape }}
No published content in this snapshot.
{% endif %} + {% for item in collection.items %} +{{ item.contentModel }}
{{ item.summary }}
Section
-No published items in this snapshot.
{% endif %} - {% for item in content %} -{{ item.summary | escape }}
No published items in this snapshot.
{% endif %} + {% for item in collection.items %} +{{ item.summary }}