diff --git a/.eleventy.js b/.eleventy.js
index 009a938..a7e43c7 100644
--- a/.eleventy.js
+++ b/.eleventy.js
@@ -4,6 +4,10 @@ const pluginSEO = require("eleventy-plugin-seo");
const tinysvg = require('@sardine/eleventy-plugin-tinysvg');
const slinkity = require('slinkity')
+// for 404 callback
+const fs = require("fs");
+const NOT_FOUND_PATH = "_site/404.html";
+
module.exports = function (eleventyConfig) {
eleventyConfig.addPassthroughCopy('./src/assets/images/');
eleventyConfig.addPassthroughCopy('./src/assets/videos/');
@@ -22,6 +26,27 @@ module.exports = function (eleventyConfig) {
return format(date, dateFormat)
})
+ // 404 callback
+ eleventyConfig.setBrowserSyncConfig({
+ callbacks: {
+ ready: function(err, bs) {
+
+ bs.addMiddleware("*", (req, res) => {
+ if (!fs.existsSync(NOT_FOUND_PATH)) {
+ throw new Error(`Expected a \`${NOT_FOUND_PATH}\` file but could not find one. Did you create a 404.html template?`);
+ }
+
+ const content_404 = fs.readFileSync(NOT_FOUND_PATH);
+ // Add 404 http status code in request header.
+ res.writeHead(404, { "Content-Type": "text/html; charset=UTF-8" });
+ // Provides the 404 content without redirect.
+ res.write(content_404);
+ res.end();
+ });
+ }
+ }
+ });
+
return {
dir: { input: "src", output: "_site", data: "_data" },
};
diff --git a/src/_data/faq.json b/src/_data/faq.json
index 9702233..1bf832d 100644
--- a/src/_data/faq.json
+++ b/src/_data/faq.json
@@ -57,7 +57,7 @@
},
{
"question": "Will you add \"X\" service to the Marketplace?",
- "answer": "The answer from Start9, the company, is \"probably not.\" Start9 is dedicated to building a powerful and reliable foundation for Sovereign Computing in the form of StartOS. Start9 will always maintain a small set of \"official\" services, which allow for a wide range of features that the average user would need. The bulk of the responsibility for StartOS service packaging therefore, will fall on community and upstream software developers. Check out this blog post for more details on this strategy. If you'd like to show demand for a particular service, you can upvote it or add it to this unofficial feedback forum.
We strive to make it as easy as possible to add a service to StartOS, and we do not want to limit this ability to those with extensive development skills. This will be a process that evolves a lot over the coming years. Please check out our Developer Docs to learn more.",
+ "answer": "The answer from Start9, the company, is \"probably not.\" Start9 is dedicated to building a powerful and reliable foundation for Sovereign Computing in the form of StartOS. Start9 will always maintain a small set of \"official\" services, which allow for a wide range of features that the average user would need. The bulk of the responsibility for StartOS service packaging therefore, will fall on community and upstream software developers. Check out this blog post for more details on this strategy. If you'd like to show demand for a particular service, you can upvote it or add it to this unofficial feedback forum.
We strive to make it as easy as possible to add a service to StartOS, and we do not want to limit this ability to those with extensive development skills. This will be a process that evolves a lot over the coming years. Please check out our Developer Docs to learn more.",
"bullets": [],
"additional": ""
},
diff --git a/src/assets/styles/peripheral.scss b/src/assets/styles/peripheral.scss
index 107aab4..75b2b56 100644
--- a/src/assets/styles/peripheral.scss
+++ b/src/assets/styles/peripheral.scss
@@ -501,38 +501,6 @@ section#creators {
}
}
-#pro-tagline {
- display: flex;
- flex-direction: column;
- align-items: center;
- gap: 1rem;
-
- .btn {
- text-align: center;
- padding: 1rem 1.3rem;
- color: var(--c-text-bright);
- background-color: var(--c-accent);
- border: 0;
- font-family: var(--f-accent);
- font-weight: 300;
- font-size: 1.2rem;
- text-decoration: none;
- box-shadow: 0 1rem 1rem -0.5rem var(--c-shadow-3);
- border-radius: 34px;
-
- &:hover {
- transform: scale(1.03);
- filter: brightness(120%);
- }
- }
-
- p {
- text-align: center;
- margin: 0;
- font-size: 1.4rem;
- }
-}
-
a.btn {
position: relative;
padding: 0.7rem 1.7rem;
@@ -688,14 +656,4 @@ section#faq {
top: -148%;
}
}
-
- #pro-tagline {
- .btn {
- font-size: 1.5rem;
- }
-
- p {
- font-size: 1.7rem;
- }
- }
}
\ No newline at end of file
diff --git a/src/embassy-pro.njk b/src/embassy-pro.njk
deleted file mode 100644
index fcb68f3..0000000
--- a/src/embassy-pro.njk
+++ /dev/null
@@ -1,29 +0,0 @@
----
-title: Embassy Pro
-excerpt: Introducting our new flagship personal server product for sovereign computing
-image: https://start9.com/thumbnail-pro.jpg
-ogtype: summary
-layout: layouts/peripheral.njk
----
-
-
-