Skip to content

Commit

Permalink
changed rendering to hybrid and removed prerender (is set to true by …
Browse files Browse the repository at this point in the history
…default)
  • Loading branch information
StefanMarAntonsson committed Dec 11, 2024
1 parent fac8908 commit 4b47ce1
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import sitemap from '@astrojs/sitemap';
export default defineConfig({
site: 'https://alexsguardian.net',
compressHTML: true,
output: "server",
output: "hybrid",
adapter: node({
mode: 'standalone',
}),
Expand Down
1 change: 0 additions & 1 deletion src/pages/404.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
import DefaultLayout from '../layouts/DefaultLayout.astro';
export const prerender = true;
---

<DefaultLayout title="404">
Expand Down
1 change: 0 additions & 1 deletion src/pages/about.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import ContentMedia from '../components/ContentMedia.astro';
import PageTitle from '../components/PageTitle.astro';
import CallToAction from '../components/CallToAction.astro';
export const prerender = true;
const pageTitle = "About";
---

Expand Down
2 changes: 1 addition & 1 deletion src/pages/contact.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import DefaultLayout from '../layouts/DefaultLayout.astro';
import ContactForm from '../components/ContactForm.vue';
import PageTitle from '../components/PageTitle.astro';
export const prerender = false;
const pageTitle = "Contact";
---
<!-- TODO: Add Contact form and other contact information to this page -->
Expand Down
2 changes: 0 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import Feature from '../components/Feature.astro';
import Counter from '../components/Counter.astro';
import TestimonialCarousel from '../components/TestimonialCarousel.astro';
import CallToAction from '../components/CallToAction.astro';
export const prerender = true;
---

<DefaultLayout title="Home">
Expand Down
1 change: 0 additions & 1 deletion src/pages/nfp.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import CallToAction from '../components/CallToAction.astro';
import ServicesList from "../components/ServicesList.astro";
import { Icon } from 'astro-icon/components';
export const prerender = true;
const pageTitle = "Not For Profits";
const services = [
Expand Down
1 change: 0 additions & 1 deletion src/pages/privacy.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import PageTitle from '../components/PageTitle.astro';
import DefaultLayout from '../layouts/DefaultLayout.astro';
export const prerender = true;
const pageTitle = "Privacy Policy";
---

Expand Down
1 change: 0 additions & 1 deletion src/pages/projects.astro
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import CustomPC2 from '../assets/img/custom-pc-2.webp';
import CamInstall1 from '../assets/img/camera-install-1.webp';
import NetInstall1 from '../assets/img/network-install-1.webp'
export const prerender = true;
const pageTitle = "Projects";
---

Expand Down
1 change: 0 additions & 1 deletion src/pages/scams.astro
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import Aside from '../components/Aside.astro';
import PageTitle from '../components/PageTitle.astro';
import CallToAction from '../components/CallToAction.astro';
export const prerender = true;
const pageTitle = "Scams";
---

Expand Down
1 change: 0 additions & 1 deletion src/pages/support.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
import DefaultLayout from '../layouts/DefaultLayout.astro';
export const prerender = true;
---

<!-- TODO: Add support options to this page -->
Expand Down

0 comments on commit 4b47ce1

Please sign in to comment.